[ConnectProtocol] Do not initialize when running as a dedicated server
This commit is contained in:
parent
ac4f824a7c
commit
437ee48f8f
@ -204,6 +204,8 @@ namespace Components
|
|||||||
|
|
||||||
ConnectProtocol::ConnectProtocol()
|
ConnectProtocol::ConnectProtocol()
|
||||||
{
|
{
|
||||||
|
if (Dedicated::Dedicated::IsEnabled()) return;
|
||||||
|
|
||||||
// IPC handler
|
// IPC handler
|
||||||
IPCPipe::On("connect", [] (std::string data)
|
IPCPipe::On("connect", [] (std::string data)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user