From fa95b4c37e3373507db435a13ae66d018be17287 Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 19 Apr 2022 00:48:29 +0200 Subject: [PATCH] Properly initialize ReplicateVars_time --- qcsrc/lib/replicate.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2