From: FruitieX Date: Wed, 8 Dec 2010 16:21:57 +0000 (+0200) Subject: ugly fix to prevent the crash, but the issue remains: why is trigger_race_checkpoint_... X-Git-Tag: xonotic-v0.1.0preview~51^2~28 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=8f8428a8bd1b6c48260b3b6b1fce194e26772e42 ugly fix to prevent the crash, but the issue remains: why is trigger_race_checkpoint_verify() sometimes apparently ran twice for the same entity? --- diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index 2fee39193f..a91f4608e1 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -1810,7 +1810,8 @@ void InitializeEntitiesRun() self = e_old; } //dprint("Delayed initialization: ", self.classname, "\n"); - func(); + if(func != func_null) + func(); self = e; } }