[ConnectProtocol] Do not initialize when running as a dedicated server

This commit is contained in:
sr0 2017-02-21 21:39:40 +01:00
parent ac4f824a7c
commit 437ee48f8f

View File

@ -204,6 +204,8 @@ namespace Components
ConnectProtocol::ConnectProtocol()
{
if (Dedicated::Dedicated::IsEnabled()) return;
// IPC handler
IPCPipe::On("connect", [] (std::string data)
{