hopefully fixed crashing on map restart on certain maps

This commit is contained in:
JezuzLizard 2020-03-20 18:36:08 -07:00 committed by GitHub
parent d158f09bf4
commit 0d8c253a61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,10 @@ spawnAllPlayers()
if ( players[ i ].sessionstate == "spectator" && isDefined( players[ i ].spectator_respawn ) ) if ( players[ i ].sessionstate == "spectator" && isDefined( players[ i ].spectator_respawn ) )
{ {
players[ i ] [[ level.spawnplayer ]](); players[ i ] [[ level.spawnplayer ]]();
thread maps\mp\zombies\_zm::refresh_player_navcard_hud(); if ( !level.script == "zm_tomb" || !level.script == "zm_prison" || !is_classic() )
{
thread maps\mp\zombies\_zm::refresh_player_navcard_hud();
}
} }
i++; i++;
} }