diff options
Diffstat (limited to 'NorthstarDLL/dedicated/dedicated.cpp')
-rw-r--r-- | NorthstarDLL/dedicated/dedicated.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/NorthstarDLL/dedicated/dedicated.cpp b/NorthstarDLL/dedicated/dedicated.cpp index 267fbe92..1aff0f34 100644 --- a/NorthstarDLL/dedicated/dedicated.cpp +++ b/NorthstarDLL/dedicated/dedicated.cpp @@ -1,4 +1,5 @@ #include "dedicated.h" +#include "dedicatedlogtoclient.h" #include "core/tier0.h" #include "playlist.h" #include "engine/r2engine.h" @@ -226,6 +227,9 @@ ON_DLL_LOAD_DEDI_RELIESON("engine.dll", DedicatedServer, ServerPresence, (CModul DedicatedConsoleServerPresence* presenceReporter = new DedicatedConsoleServerPresence; g_pServerPresence->AddPresenceReporter(presenceReporter); + // setup dedicated printing to client + RegisterCustomSink(std::make_shared<DedicatedServerLogToClientSink>()); + // Disable Quick Edit mode to reduce chance of user unintentionally hanging their server by selecting something. if (!Tier0::CommandLine()->CheckParm("-bringbackquickedit")) { |