Reset default state when a dedicated server clears.
This commit is contained in:
@@ -527,7 +527,10 @@ namespace OpenRA.Server
|
||||
DispatchOrders(toDrop, toDrop.MostRecentFrame, new byte[] {0xbf});
|
||||
|
||||
if (!conns.Any())
|
||||
{
|
||||
FieldLoader.Load(lobbyInfo.GlobalSettings, ModData.Manifest.LobbyDefaults);
|
||||
TempBans.Clear();
|
||||
}
|
||||
|
||||
if (conns.Any() || lobbyInfo.GlobalSettings.Dedicated)
|
||||
SyncLobbyInfo();
|
||||
|
||||
Reference in New Issue
Block a user