Remove World.ObserveAfterWinOrLose

Fixes RenderPlayer for "All Players" view.
This commit is contained in:
Oliver Brakmann
2015-07-24 23:55:07 +02:00
committed by deniz1a
parent 5546298866
commit a725d63b0c
3 changed files with 2 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
sidebarTicker.OnTick = () =>
{
// Switch to observer mode after win/loss
if (world.ObserveAfterWinOrLose && world.LocalPlayer.WinState != WinState.Undefined)
if (world.LocalPlayer.WinState != WinState.Undefined)
Game.RunAfterTick(() =>
{
world.LocalPlayer.Spectating = true;