Add a frozen status check to arc
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / arc.qc
index 73198a7a40dff82766009c2f4514725785664f95..c4c396fce597d44f796b826ccfebeb41a95a9307 100644 (file)
@@ -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)