moved Game.players, LocalPlayer, localPlayerIndex to World. Setting LocalPlayer via settings is broken.
This commit is contained in:
@@ -205,7 +205,7 @@ namespace OpenRa.Traits
|
||||
self.CancelActivity();
|
||||
QueueAttack(self, order);
|
||||
|
||||
if (self.Owner == Game.LocalPlayer)
|
||||
if (self.Owner == Game.world.LocalPlayer)
|
||||
Game.world.AddFrameEndTask(w => w.Add(new FlashTarget(order.TargetActor)));
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user