]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon/hagar.qc
If a round hasn't started yet forbid primary and secondary fire, allow switching...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / hagar.qc
index eff656a6e1dce2ae5f271c4de27c454a6a654dc7..897ad437f6408dc2b556a1d3416f298882002c1e 100644 (file)
@@ -315,7 +315,8 @@ void W_Hagar_Attack2_Load_Release(entity actor, .entity weaponentity)
 void W_Hagar_Attack2_Load(Weapon thiswep, entity actor, .entity weaponentity)
 {
        // loadable hagar secondary attack, must always run each frame
-
+       if(round_handler_IsActive() && !round_handler_IsRoundStarted())
+               return;
        if(time < game_starttime)
                return;