aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/misccommands.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-11-06 23:03:16 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-11-06 23:03:16 +0000
commita7fd103124d6e6a506d8f837b9a29a97f0ea7e63 (patch)
tree769af8a2be7890d42e1b3d183cdc9233ee9c969f /NorthstarDedicatedTest/misccommands.cpp
parentcfeeaf9561a294f359cc180b86f2644e3828d819 (diff)
downloadNorthstarLauncher-a7fd103124d6e6a506d8f837b9a29a97f0ea7e63.tar.gz
NorthstarLauncher-a7fd103124d6e6a506d8f837b9a29a97f0ea7e63.zip
modmanager fixes
Diffstat (limited to 'NorthstarDedicatedTest/misccommands.cpp')
-rw-r--r--NorthstarDedicatedTest/misccommands.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/misccommands.cpp b/NorthstarDedicatedTest/misccommands.cpp
index 27dbbbc4..cc6f816d 100644
--- a/NorthstarDedicatedTest/misccommands.cpp
+++ b/NorthstarDedicatedTest/misccommands.cpp
@@ -28,6 +28,8 @@ void EndSelfAuthAndLeaveToLobbyCommand(const CCommand& arg)
Cbuf_Execute();
g_ServerAuthenticationManager->m_bNeedLocalAuthForNewgame = true;
+ // this won't set playlist correctly on remote clients, don't think they can set playlist until they've left which sorta fucks things
+ // should maybe set this in HostState_NewGame?
SetCurrentPlaylist("tdm");
strcpy(g_pHostState->m_levelName, "mp_lobby");
g_pHostState->m_iNextState = HS_NEW_GAME;