Don't attempt to shutdown master ping in skirmish.

This commit is contained in:
Matthias Mailänder
2025-09-22 12:29:45 +02:00
committed by Gustas Kažukauskas
parent 2c86411eb4
commit 148cd911d5

View File

@@ -121,6 +121,9 @@ namespace OpenRA.Mods.Common.Server
void INotifyServerShutdown.ServerShutdown(S server)
{
if (!server.IsMultiplayer)
return;
if (server.Settings.AdvertiseOnline)
{
// Announce that the game has ended to remove it from the list.