From: terencehill Date: Mon, 18 Apr 2022 22:48:29 +0000 (+0200) Subject: Properly initialize ReplicateVars_time X-Git-Tag: xonotic-v0.8.5~62 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fa95b4c37e3373507db435a13ae66d018be17287;p=xonotic%2Fxonotic-data.pk3dir.git Properly initialize ReplicateVars_time --- diff --git a/qcsrc/lib/replicate.qh b/qcsrc/lib/replicate.qh index e2e34b197..675d743c1 100644 --- a/qcsrc/lib/replicate.qh +++ b/qcsrc/lib/replicate.qh @@ -53,8 +53,8 @@ const int REPLICATEVARS_DESTROY = 1; // destroy data associated with cvars (shut { if (!ReplicateVars_time) // make sure it gets executed only once { - ReplicateVars(REPLICATEVARS_SEND_ALL); ReplicateVars_time = time; + ReplicateVars(REPLICATEVARS_SEND_ALL); } } #endif