fix player respawn bug
This commit is contained in:
parent
61f30c26dc
commit
76c8b19af1
@ -457,7 +457,7 @@ foreach (Event in PendingEvents) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Spawn players
|
// Spawn players
|
||||||
if (Players.count > 0 && PlayersNbAlive <= 0) { //< Check for unspawned players only if at least one player is unspawned
|
if (Players.count > 0 && PlayersNbDead >= 1) { //< Check for unspawned players only if at least one player is unspawned
|
||||||
declare Boolean NoOneCanPlay = True;
|
declare Boolean NoOneCanPlay = True;
|
||||||
foreach (Player in Players) {
|
foreach (Player in Players) {
|
||||||
declare Boolean ModeRounds_CanSpawn for Player.Score = Rounds_Settings_CanSpawnDefault;
|
declare Boolean ModeRounds_CanSpawn for Player.Score = Rounds_Settings_CanSpawnDefault;
|
||||||
|
Loading…
Reference in New Issue
Block a user