Warn user about multiple instance of STK server

This commit is contained in:
Benau 2018-02-20 10:11:09 +08:00
parent 3223d05c6c
commit 04a6f6d08b

View File

@ -55,7 +55,8 @@ Network::Network(int peer_count, int channel_limit,
if (!m_host)
{
Log::fatal("Network", "An error occurred while trying to create an "
"ENet client host.");
"ENet client host, maybe you started multiple instance "
"of STK server?");
}
} // Network
@ -215,4 +216,4 @@ void Network::closeLog()
m_log_file.getData() = NULL;
m_log_file.unlock();
}
} // closeLog
} // closeLog