fix #2780 ; Send state=3 to master server when it's not dedicated and admin presses disconnect

This commit is contained in:
Igor Popov
2013-03-17 13:48:40 +04:00
parent 86b55a6444
commit 751b6594a8

View File

@@ -540,6 +540,8 @@ namespace OpenRA.Server
if (conns.Count != 0 || lobbyInfo.GlobalSettings.Dedicated)
SyncLobbyInfo();
if ( !lobbyInfo.GlobalSettings.Dedicated && dropClient.IsAdmin )
Shutdown();
}
try