moved Game.players, LocalPlayer, localPlayerIndex to World. Setting LocalPlayer via settings is broken.
This commit is contained in:
@@ -23,7 +23,7 @@ namespace OpenRa.Traits
|
||||
return;
|
||||
|
||||
Game.world.CreateActor( order.TargetString, order.TargetLocation, order.Player );
|
||||
if (order.Player == Game.LocalPlayer)
|
||||
if (order.Player == Game.world.LocalPlayer)
|
||||
{
|
||||
Sound.Play("placbldg.aud");
|
||||
Sound.Play("build5.aud");
|
||||
|
||||
Reference in New Issue
Block a user