diff options
Diffstat (limited to 'NorthstarDLL/nsprefix.cpp')
-rw-r--r-- | NorthstarDLL/nsprefix.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/NorthstarDLL/nsprefix.cpp b/NorthstarDLL/nsprefix.cpp index 9c2e22c9..8057865e 100644 --- a/NorthstarDLL/nsprefix.cpp +++ b/NorthstarDLL/nsprefix.cpp @@ -1,5 +1,6 @@ #include "pch.h" #include "nsprefix.h" +#include "dedicated.h" #include <string> std::string GetNorthstarPrefix() @@ -37,5 +38,7 @@ void InitialiseNorthstarPrefix() } // set the console title to show the current profile - SetConsoleTitleA((std::string("NorthstarLauncher | ") + NORTHSTAR_FOLDER_PREFIX).c_str()); + // dont do this on dedi as title contains useful information on dedi and setting title breaks it as well + if (!IsDedicatedServer()) + SetConsoleTitleA((std::string("NorthstarLauncher | ") + NORTHSTAR_FOLDER_PREFIX).c_str()); } |