Reset slot configuration when all players leave a dedicated server.
This commit is contained in:
@@ -590,8 +590,10 @@ namespace OpenRA.Server
|
||||
|
||||
DispatchOrders(toDrop, frame, new byte[] { 0xbf });
|
||||
|
||||
// All clients have left: clean up
|
||||
if (!Conns.Any())
|
||||
TempBans.Clear();
|
||||
foreach (var t in serverTraits.WithInterface<INotifyServerEmpty>())
|
||||
t.ServerEmpty(this);
|
||||
|
||||
if (Conns.Any() || Dedicated)
|
||||
SyncLobbyClients();
|
||||
|
||||
Reference in New Issue
Block a user