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