Properly restrict the spectator view in mission maps

This commit is contained in:
abcdefg30
2020-12-12 09:25:59 +01:00
committed by reaperrr
parent e3084e230e
commit aeaffc0a8e

View File

@@ -80,7 +80,8 @@ namespace OpenRA
{ {
get get
{ {
return spectating || WinState != WinState.Undefined; // Players in mission maps must not leave the player view
return !inMissionMap && (spectating || WinState != WinState.Undefined);
} }
} }