From: Mario Date: Fri, 5 Feb 2016 12:22:55 +0000 (+1000) Subject: Stop arc beam when game ends X-Git-Tag: xonotic-v0.8.2~1200 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d9ed36477d227486331c4e5b534753408a9c3ff3;p=xonotic%2Fxonotic-data.pk3dir.git Stop arc beam when game ends --- diff --git a/qcsrc/common/weapons/weapon/arc.qc b/qcsrc/common/weapons/weapon/arc.qc index 303c5a256..1d3ea78a5 100644 --- a/qcsrc/common/weapons/weapon/arc.qc +++ b/qcsrc/common/weapons/weapon/arc.qc @@ -328,6 +328,8 @@ void W_Arc_Beam_Think() || IS_DEAD(self.owner) || + gameover + || (!self.owner.BUTTON_ATCK && !burst ) || STAT(FROZEN, self.owner)