mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 15:48:05 -05:00
Tranzit: fix assets not loading for players joining during pregame
This commit is contained in:
@ -174,23 +174,30 @@ onplayerspawned()
|
||||
|
||||
hide_gump_loading_for_hotjoiners()
|
||||
{
|
||||
if(isDefined(level.should_respawn_func) && [[level.should_respawn_func]]())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
self endon( "disconnect" );
|
||||
|
||||
self.rebuild_barrier_reward = 1;
|
||||
self.is_hotjoining = 1;
|
||||
|
||||
num = self getsnapshotackindex();
|
||||
|
||||
wait 0.5;
|
||||
|
||||
while ( num == self getsnapshotackindex() )
|
||||
{
|
||||
wait 0.25;
|
||||
wait 0.05;
|
||||
}
|
||||
wait 0.5;
|
||||
|
||||
self maps\mp\zombies\_zm::spawnspectator();
|
||||
self.is_hotjoining = 0;
|
||||
self.is_hotjoin = 1;
|
||||
|
||||
if(isDefined(level.should_respawn_func) && [[level.should_respawn_func]]())
|
||||
{
|
||||
level thread maps\mp\zombies\_zm::spectators_respawn();
|
||||
return;
|
||||
}
|
||||
|
||||
if ( is_true( level.intermission ) || is_true( level.host_ended_game ) )
|
||||
{
|
||||
setclientsysstate( "levelNotify", "zi", self );
|
||||
|
Reference in New Issue
Block a user