]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix domination ready-restart disabling player movement
authorMario <mario@smbclan.net>
Sat, 16 Jan 2016 10:13:08 +0000 (20:13 +1000)
committerMario <mario@smbclan.net>
Sat, 16 Jan 2016 10:13:26 +0000 (20:13 +1000)
qcsrc/server/mutators/mutator/gamemode_domination.qc

index 76be449870d056f3de0ecea092726d09deff07ee..1259364f093f3ba715f52933ea9061330c21d38b 100644 (file)
@@ -501,7 +501,8 @@ MUTATOR_HOOKFUNCTION(dom, reset_map_players)
        FOREACH_CLIENT(IS_PLAYER(it), LAMBDA(
                setself(it);
                PutClientInServer();
-               self.player_blocked = 1;
+               if(domination_roundbased)
+                       self.player_blocked = 1;
                if(IS_REAL_CLIENT(self))
                        set_dom_state(self);
        ));