From ba41749cc6a6693f11a7f1c7535ff758a461a424 Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Mon, 12 Jul 2021 14:51:43 +0100 Subject: add hardpoint, infection changes, fra changes --- Northstar.CustomServers/scripts/vscripts/lobby/_private_lobby.gnut | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Northstar.CustomServers/scripts/vscripts/lobby/_private_lobby.gnut') diff --git a/Northstar.CustomServers/scripts/vscripts/lobby/_private_lobby.gnut b/Northstar.CustomServers/scripts/vscripts/lobby/_private_lobby.gnut index 8d803da1d..1b4e5dbd9 100644 --- a/Northstar.CustomServers/scripts/vscripts/lobby/_private_lobby.gnut +++ b/Northstar.CustomServers/scripts/vscripts/lobby/_private_lobby.gnut @@ -17,6 +17,7 @@ void function PrivateLobby_Init() AddClientCommandCallback( "PrivateMatchSetMode", ClientCommandCallback_PrivateMatchSetMode ) AddClientCommandCallback( "SetCustomMap", ClientCommandCallback_SetCustomMap ) AddClientCommandCallback( "PrivateMatchSwitchTeams", ClientCommandCallback_PrivateMatchSwitchTeams ) + AddClientCommandCallback( "ResetMatchSettingsToDefault", ClientCommandCallback_ResetMatchSettingsToDefault ) } bool function ClientCommandCallback_PrivateMatchLaunch( entity player, array args ) @@ -157,4 +158,10 @@ void function RefreshPlayerTeams() lastSetMilitia = !lastSetMilitia } } +} + +bool function ClientCommandCallback_ResetMatchSettingsToDefault( entity player, array args ) +{ + ClearPlaylistVarOverrides() + return true } \ No newline at end of file -- cgit v1.2.3