Fix IDE0001

This commit is contained in:
RoosterDragon
2023-11-14 19:48:21 +00:00
committed by Gustas
parent 399cef8fb2
commit cfde0d7867

View File

@@ -172,10 +172,10 @@ namespace OpenRA.Mods.Common.Widgets.Logic
Game.BeforeGameStart += OnGameStart;
Game.ConnectionStateChanged += ConnectionStateChanged;
ChromeMetrics.TryGet<string>("ChatLineSound", out chatLineSound);
ChromeMetrics.TryGet<string>("PlayerJoinedSound", out playerJoinedSound);
ChromeMetrics.TryGet<string>("PlayerLeftSound", out playerLeftSound);
ChromeMetrics.TryGet<string>("LobbyOptionChangedSound", out lobbyOptionChangedSound);
ChromeMetrics.TryGet("ChatLineSound", out chatLineSound);
ChromeMetrics.TryGet("PlayerJoinedSound", out playerJoinedSound);
ChromeMetrics.TryGet("PlayerLeftSound", out playerLeftSound);
ChromeMetrics.TryGet("LobbyOptionChangedSound", out lobbyOptionChangedSound);
var name = lobby.GetOrNull<LabelWidget>("SERVER_NAME");
if (name != null)