From 8f8428a8bd1b6c48260b3b6b1fce194e26772e42 Mon Sep 17 00:00:00 2001 From: FruitieX Date: Wed, 8 Dec 2010 18:21:57 +0200 Subject: [PATCH] ugly fix to prevent the crash, but the issue remains: why is trigger_race_checkpoint_verify() sometimes apparently ran twice for the same entity? --- qcsrc/server/miscfunctions.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- 2.39.2