moved Game.players, LocalPlayer, localPlayerIndex to World. Setting LocalPlayer via settings is broken.
This commit is contained in:
@@ -32,7 +32,7 @@ namespace OpenRa.Mods.Aftermath.Orders
|
||||
|
||||
public Cursor GetCursor(int2 xy, MouseInput mi)
|
||||
{
|
||||
if (!Game.LocalPlayer.Shroud.IsExplored(xy))
|
||||
if (!Game.world.LocalPlayer.Shroud.IsExplored(xy))
|
||||
return Cursor.MoveBlocked;
|
||||
|
||||
var movement = self.traits.GetOrDefault<IMovement>();
|
||||
|
||||
Reference in New Issue
Block a user