1
0
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:
Ivan Savenko
2024-02-14 12:06:22 +02:00
committed by GitHub
39 changed files with 1203 additions and 1282 deletions

View File

@@ -81,7 +81,7 @@ void ClientPermissionsCheckerNetPackVisitor::visitLobbyClientDisconnected(LobbyC
if(pack.shutdownServer)
{
if(!srv.cmdLineOptions.count("run-by-client"))
if(!srv.wasStartedByClient())
{
result = false;
return;