From: drjaska Date: Mon, 6 Jun 2022 19:45:22 +0000 (+0300) Subject: Add a frozen status check to arc X-Git-Tag: xonotic-v0.8.5~13^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0a0e38fd8cf925664fd78e8744dddd18b0242b44;p=xonotic%2Fxonotic-data.pk3dir.git Add a frozen status check to arc --- diff --git a/qcsrc/common/weapons/weapon/arc.qc b/qcsrc/common/weapons/weapon/arc.qc index 73198a7a4..c4c396fce 100644 --- a/qcsrc/common/weapons/weapon/arc.qc +++ b/qcsrc/common/weapons/weapon/arc.qc @@ -213,6 +213,8 @@ void W_Arc_Beam_Think(entity this) || IS_DEAD(own) || + STAT(FROZEN, own) + || game_stopped || !weapon_prepareattack_check(thiswep, own, weaponentity, this.beam_bursting, -1)