mirror of
https://github.com/JezuzLizard/Public-BO2-Mods.git
synced 2025-06-08 02:58:24 -05:00
updated all restart functions to use waittill
This commit is contained in:
parent
2e94a8346d
commit
2d384547c9
@ -296,15 +296,9 @@ gscRestart()
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while ( 1 )
|
level waittill( "end_game" );
|
||||||
{
|
|
||||||
if ( level.intermission )
|
|
||||||
{
|
|
||||||
wait 20;
|
wait 20;
|
||||||
map_restart( false );
|
map_restart( false );
|
||||||
}
|
|
||||||
wait 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
emptyLobbyRestart()
|
emptyLobbyRestart()
|
||||||
@ -334,16 +328,10 @@ gscMapChange()
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while ( 1 )
|
level waittill( "end_game" );
|
||||||
{
|
|
||||||
if ( level.intermission )
|
|
||||||
{
|
|
||||||
wait 20;
|
wait 20;
|
||||||
mapChange( location() );
|
mapChange( location() );
|
||||||
map_restart( false );
|
map_restart( false );
|
||||||
}
|
|
||||||
wait 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location()
|
location()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user