]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/vote.qc
Use STAT(FROZEN, e) instead of e.frozen
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / vote.qc
index 2053d74ea99f7e3026b5a6bac1e406215e44c1dc..76f08bdc9f4453f56e471406bc6b2cd92f6ab61c 100644 (file)
@@ -356,7 +356,7 @@ void reset_map(bool dorespawn)
                if (it.reset2) WITH(entity, self, it, it.reset2());
        ));
 
-       FOREACH_CLIENT(IS_PLAYER(it) && it.frozen, LAMBDA(WITH(entity, self, it, Unfreeze(it))));
+       FOREACH_CLIENT(IS_PLAYER(it) && STAT(FROZEN, it), LAMBDA(WITH(entity, self, it, Unfreeze(it))));
 
        // Moving the player reset code here since the player-reset depends
        // on spawnpoint entities which have to be reset first --blub