find/replace "Game.world." -> "self.World." in all traits and activities.
This commit is contained in:
@@ -23,7 +23,7 @@ namespace OpenRa.Traits
|
||||
public void Damaged(Actor self, AttackInfo e)
|
||||
{
|
||||
if (e.DamageState == DamageState.Dead)
|
||||
if (self.Owner == Game.world.LocalPlayer)
|
||||
if (self.Owner == self.World.LocalPlayer)
|
||||
Sound.Play(self.Info.Traits.Get<OwnedActorInfo>().WaterBound
|
||||
? "navylst1.aud" : "unitlst1.aud");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user