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