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

View File

@ -75,7 +75,10 @@ spawnAllPlayers()
if ( players[ i ].sessionstate == "spectator" && isDefined( players[ i ].spectator_respawn ) )
{
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++;
}