From 751b6594a8fcc04f4a5cccf42e46251cf6c8064d Mon Sep 17 00:00:00 2001 From: Igor Popov Date: Sun, 17 Mar 2013 13:48:40 +0400 Subject: [PATCH] fix #2780 ; Send state=3 to master server when it's not dedicated and admin presses disconnect --- OpenRA.Game/Server/Server.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRA.Game/Server/Server.cs b/OpenRA.Game/Server/Server.cs index 478b12085a..2a399a5793 100644 --- a/OpenRA.Game/Server/Server.cs +++ b/OpenRA.Game/Server/Server.cs @@ -540,6 +540,8 @@ namespace OpenRA.Server if (conns.Count != 0 || lobbyInfo.GlobalSettings.Dedicated) SyncLobbyInfo(); + if ( !lobbyInfo.GlobalSettings.Dedicated && dropClient.IsAdmin ) + Shutdown(); } try