public static void DebugError(string msg, Vector3D atPosition) { if (DebugMode) { Error(msg); DuckUtils.AddGpsToAllPlayers("ERROR: " + msg, "An error happened here!", atPosition); } }
protected static Action AddGps(string name, string description, Vector3D coords) { return(() => { DuckUtils.AddGpsToAllPlayers(name, description, coords); }); }