mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
fix(scripts): don't use mislabelled tokens from gsc-tool
This commit is contained in:
parent
fbf9aadc1b
commit
746ae010d3
@ -1921,13 +1921,13 @@ verifydedicatedconfiguration()
|
|||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
if ( level.rankedmatch )
|
if ( level.rankedmatch )
|
||||||
exitlevel( 0 );
|
_func_16A( 0 );
|
||||||
|
|
||||||
if ( !getdvarint( "xblive_privatematch" ) )
|
if ( !getdvarint( "xblive_privatematch" ) )
|
||||||
exitlevel( 0 );
|
_func_16A( 0 );
|
||||||
|
|
||||||
if ( getdvar( "dedicated" ) != "dedicated LAN server" && getdvar( "dedicated" ) != "dedicated internet server" )
|
if ( getdvar( "dedicated" ) != "dedicated LAN server" && getdvar( "dedicated" ) != "dedicated internet server" )
|
||||||
exitlevel( 0 );
|
_func_16A( 0 );
|
||||||
|
|
||||||
wait 5;
|
wait 5;
|
||||||
}
|
}
|
||||||
@ -2438,7 +2438,7 @@ endgameovertime( var_0, var_1 )
|
|||||||
level notify( "restarting" );
|
level notify( "restarting" );
|
||||||
game["state"] = "playing";
|
game["state"] = "playing";
|
||||||
setdvar( "ui_game_state", game["state"] );
|
setdvar( "ui_game_state", game["state"] );
|
||||||
map_restart( 1 );
|
_func_169( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
endgamehalftime( var_0 )
|
endgamehalftime( var_0 )
|
||||||
@ -2519,7 +2519,7 @@ endgamehalftime( var_0 )
|
|||||||
level notify( "restarting" );
|
level notify( "restarting" );
|
||||||
game["state"] = "playing";
|
game["state"] = "playing";
|
||||||
setdvar( "ui_game_state", game["state"] );
|
setdvar( "ui_game_state", game["state"] );
|
||||||
map_restart( 1 );
|
_func_169( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
updategameduration()
|
updategameduration()
|
||||||
@ -2652,7 +2652,7 @@ endgame( var_0, var_1, var_2 )
|
|||||||
level notify( "restarting" );
|
level notify( "restarting" );
|
||||||
game["state"] = "playing";
|
game["state"] = "playing";
|
||||||
setdvar( "ui_game_state", "playing" );
|
setdvar( "ui_game_state", "playing" );
|
||||||
map_restart( 1 );
|
_func_169( 1 );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2909,7 +2909,7 @@ endgame( var_0, var_1, var_2 )
|
|||||||
}
|
}
|
||||||
|
|
||||||
level notify( "exitLevel_called" );
|
level notify( "exitLevel_called" );
|
||||||
exitlevel( 0 );
|
_func_16A( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
getgamewinner( var_0, var_1 )
|
getgamewinner( var_0, var_1 )
|
||||||
|
Loading…
Reference in New Issue
Block a user