Merge pull request #2857 from Mailaender/fix-game-start-sound-nullreference-exception
Fix NullReferenceException for spectator mode
This commit is contained in:
@@ -222,7 +222,7 @@ namespace OpenRA
|
|||||||
worldRenderer.RefreshPalette();
|
worldRenderer.RefreshPalette();
|
||||||
|
|
||||||
if (!isShellmap)
|
if (!isShellmap)
|
||||||
Sound.PlayNotification(null, "Speech", "StartGame", orderManager.world.LocalPlayer.Country.Race);
|
Sound.PlayNotification(null, "Speech", "StartGame", null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool IsHost
|
public static bool IsHost
|
||||||
|
|||||||
Reference in New Issue
Block a user