]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mutators/mutator/campcheck/campcheck.qc
Use STAT(FROZEN, e) instead of e.frozen
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mutators / mutator / campcheck / campcheck.qc
index 0c4a88d61416c2177fefe5a8b3fa9ff9cc54e9dc..01d3885770b2b870279e4ca6466b952085311e2e 100644 (file)
@@ -36,7 +36,7 @@ MUTATOR_HOOKFUNCTION(campcheck, PlayerPreThink)
        if(IS_PLAYER(self))
        if(IS_REAL_CLIENT(self)) // bots may camp, but that's no reason to constantly kill them
        if(!IS_DEAD(self))
-       if(!self.frozen)
+       if(!STAT(FROZEN, self))
        if(!self.BUTTON_CHAT)
        if(autocvar_g_campcheck_interval)
        {