Don't ping the master server in skirmish.

This commit is contained in:
Matthias Mailänder
2025-09-20 14:50:13 +02:00
committed by Gustas Kažukauskas
parent 2d755b010c
commit 2c86411eb4

View File

@@ -79,6 +79,9 @@ namespace OpenRA.Mods.Common.Server
public void Tick(S server)
{
if (!server.IsMultiplayer)
return;
// Force an update if the last one was too long ago so the advertisement doesn't time out
if (Game.RunTime - lastChanged > MasterPingInterval)
lastChanged = Game.RunTime;