From 7ea1a523e1c936977dbea08a29f8fbf3a5c02f44 Mon Sep 17 00:00:00 2001 From: Bishbash777 <50243964+Bishbash777@users.noreply.github.com> Date: Sun, 25 Apr 2021 12:36:46 +0100 Subject: [PATCH] Fix server discovery issue on main "Join Game" Screen --- Torch/VRageGame.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Torch/VRageGame.cs b/Torch/VRageGame.cs index 24089fd..7fbe2f2 100644 --- a/Torch/VRageGame.cs +++ b/Torch/VRageGame.cs @@ -164,14 +164,15 @@ namespace Torch _log.Info("Initializing UGC services"); IMyGameService service; IMyUGCService serviceInstance; + var aggregator = new MyServerDiscoveryAggregator(); if (TorchBase.Instance.Config.UgcServiceType == UGCServiceType.Steam) { service = MySteamGameService.Create(dedicated, _appSteamId); serviceInstance = MySteamUgcService.Create(_appSteamId, service); MySteamGameService.InitNetworking(dedicated, service, - dedicated ? MyPerServerSettings.GameDSName : MyPerServerSettings.GameNameSafe, - (MyServerDiscoveryAggregator) MyGameService.ServerDiscovery); + "Space Engineers", + aggregator); } else {