From af70ac3f1020e5b989fe889bd69b79cfd2b19c47 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 27 Mar 2013 06:06:48 +1100 Subject: [PATCH] Prevent loading hagar before the match has started. Fixes bug #1434 (Able to shoot during countdown) --- qcsrc/server/w_hagar.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/server/w_hagar.qc b/qcsrc/server/w_hagar.qc index b4b79abb8..4d9a0fabe 100644 --- a/qcsrc/server/w_hagar.qc +++ b/qcsrc/server/w_hagar.qc @@ -236,6 +236,9 @@ void W_Hagar_Attack2_Load_Release (void) void W_Hagar_Attack2_Load (void) { // loadable hagar secondary attack, must always run each frame + + if(time < game_starttime) + return; float loaded, enough_ammo; loaded = self.hagar_load >= autocvar_g_balance_hagar_secondary_load_max; -- 2.39.2