]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
ugly fix to prevent the crash, but the issue remains: why is trigger_race_checkpoint_...
authorFruitieX <fruitiex@gmail.com>
Wed, 8 Dec 2010 16:21:57 +0000 (18:21 +0200)
committerFruitieX <fruitiex@gmail.com>
Wed, 8 Dec 2010 16:21:57 +0000 (18:21 +0200)
qcsrc/server/miscfunctions.qc

index 2fee39193f89bbfe983032165510a379994fe5eb..a91f4608e13bbec52fa62b09a45b456d634e0c03 100644 (file)
@@ -1810,7 +1810,8 @@ void InitializeEntitiesRun()
             self = e_old;
         }
         //dprint("Delayed initialization: ", self.classname, "\n");
             self = e_old;
         }
         //dprint("Delayed initialization: ", self.classname, "\n");
-        func();
+        if(func != func_null)
+            func();
         self = e;
     }
 }
         self = e;
     }
 }