fixed an oversight

This commit is contained in:
JezuzLizard 2020-02-23 08:17:08 -08:00 committed by GitHub
parent 38f368a075
commit 925af97d3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,14 +42,14 @@ pregameInvulnerability()
} }
while ( level.player_invulernability_active == 0 ) while ( level.player_invulernability_active == 0 )
{ {
i = 0; i2 = 0;
while ( i < players.size ) while ( i2 < players.size )
{ {
players = get_players(); players = get_players();
wait 0.05; wait 0.05;
player = players[ i ]; player = players[ i2 ];
player disableinvulnerability(); player disableinvulnerability();
i++; i2++;
} }
break; break;
} }