mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Merge pull request #3609 from IvanSavenko/single_process
Allow running server as part of client process
This commit is contained in:
@@ -81,7 +81,7 @@ void ClientPermissionsCheckerNetPackVisitor::visitLobbyClientDisconnected(LobbyC
|
||||
|
||||
if(pack.shutdownServer)
|
||||
{
|
||||
if(!srv.cmdLineOptions.count("run-by-client"))
|
||||
if(!srv.wasStartedByClient())
|
||||
{
|
||||
result = false;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user