diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-17 21:53:06 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-17 21:53:06 +0000 |
commit | 7cac56cb9bcaabed9562a7b46718f5c5de3400b8 (patch) | |
tree | 5602ee1282509d028d8e4a76bd035cc2996b9f33 /Northstar.CustomServers/mod/scripts/vscripts/lobby | |
parent | 06924c215dcf8d4dd425cbbf178509bc222c2f7d (diff) | |
download | NorthstarMods-7cac56cb9bcaabed9562a7b46718f5c5de3400b8.tar.gz NorthstarMods-7cac56cb9bcaabed9562a7b46718f5c5de3400b8.zip |
wargames intro and many fixes
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/lobby')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/lobby/_private_lobby.gnut | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/lobby/_private_lobby.gnut b/Northstar.CustomServers/mod/scripts/vscripts/lobby/_private_lobby.gnut index 6dd04809..7011de08 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/lobby/_private_lobby.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/lobby/_private_lobby.gnut @@ -124,6 +124,10 @@ void function StartMatch() WaitFrame() } + // do this before setting playlist + if ( GetConVarBool( "ns_private_match_override_maxplayers" ) ) + SetPlaylistVarOverride( "max_players", GetCurrentPlaylistVarString( "max_players", "16" ) ) + try { // todo: not every gamemode uses the same playlist as their name! need some code to resolve these manually |