Merge pull request #6182 from obrakmann/fix6172
Fix observer widgets not showing up when a player loses
This commit is contained in:
@@ -105,7 +105,7 @@ namespace OpenRA.Mods.D2k.Widgets.Logic
|
||||
cachedRadarActive = radarActive;
|
||||
|
||||
// Switch to observer mode after win/loss
|
||||
if (world.LocalPlayer.WinState != WinState.Undefined)
|
||||
if (world.ObserveAfterWinOrLose && world.LocalPlayer.WinState != WinState.Undefined)
|
||||
Game.RunAfterTick(() =>
|
||||
{
|
||||
playerRoot.RemoveChildren();
|
||||
|
||||
Reference in New Issue
Block a user