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: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8f8428a8bd1b6c48260b3b6b1fce194e26772e42;p=xonotic%2Fxonotic-data.pk3dir.git 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 2fee39193..a91f4608e 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; } }