aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/dedicated/dedicated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/dedicated/dedicated.cpp')
-rw-r--r--NorthstarDLL/dedicated/dedicated.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/dedicated/dedicated.cpp b/NorthstarDLL/dedicated/dedicated.cpp
index 33a3f034..8f6f8fe6 100644
--- a/NorthstarDLL/dedicated/dedicated.cpp
+++ b/NorthstarDLL/dedicated/dedicated.cpp
@@ -48,9 +48,9 @@ void RunServer(CDedicatedExports* dedicated)
// initialise engine
g_pEngine->Frame();
- // add +map if not present
+ // add +map if no map loading command is present
// don't manually execute this from cbuf as users may have it in their startup args anyway, easier just to run from stuffcmds if present
- if (!Tier0::CommandLine()->CheckParm("+map"))
+ if (!Tier0::CommandLine()->CheckParm("+map") && !Tier0::CommandLine()->CheckParm("+launchplaylist"))
Tier0::CommandLine()->AppendParm("+map", g_pCVar->FindVar("match_defaultMap")->GetString());
// re-run commandline