From 746ae010d3a1cf0c8cac40c1b178244e7c662bad Mon Sep 17 00:00:00 2001 From: FutureRave Date: Tue, 31 Jan 2023 18:07:54 +0000 Subject: [PATCH] fix(scripts): don't use mislabelled tokens from gsc-tool --- data/maps/mp/gametypes/_gamelogic.gsc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/data/maps/mp/gametypes/_gamelogic.gsc b/data/maps/mp/gametypes/_gamelogic.gsc index 61b3bef..dea374c 100644 --- a/data/maps/mp/gametypes/_gamelogic.gsc +++ b/data/maps/mp/gametypes/_gamelogic.gsc @@ -1921,13 +1921,13 @@ verifydedicatedconfiguration() for (;;) { if ( level.rankedmatch ) - exitlevel( 0 ); + _func_16A( 0 ); if ( !getdvarint( "xblive_privatematch" ) ) - exitlevel( 0 ); + _func_16A( 0 ); if ( getdvar( "dedicated" ) != "dedicated LAN server" && getdvar( "dedicated" ) != "dedicated internet server" ) - exitlevel( 0 ); + _func_16A( 0 ); wait 5; } @@ -2438,7 +2438,7 @@ endgameovertime( var_0, var_1 ) level notify( "restarting" ); game["state"] = "playing"; setdvar( "ui_game_state", game["state"] ); - map_restart( 1 ); + _func_169( 1 ); } endgamehalftime( var_0 ) @@ -2519,7 +2519,7 @@ endgamehalftime( var_0 ) level notify( "restarting" ); game["state"] = "playing"; setdvar( "ui_game_state", game["state"] ); - map_restart( 1 ); + _func_169( 1 ); } updategameduration() @@ -2652,7 +2652,7 @@ endgame( var_0, var_1, var_2 ) level notify( "restarting" ); game["state"] = "playing"; setdvar( "ui_game_state", "playing" ); - map_restart( 1 ); + _func_169( 1 ); return; } @@ -2909,7 +2909,7 @@ endgame( var_0, var_1, var_2 ) } level notify( "exitLevel_called" ); - exitlevel( 0 ); + _func_16A( 0 ); } getgamewinner( var_0, var_1 )