isn't desync fun\!
This commit is contained in:
@@ -11,7 +11,7 @@ namespace OpenRa.Mods.RA
|
|||||||
{
|
{
|
||||||
public void OnInfiltrate(Actor self, Actor spy)
|
public void OnInfiltrate(Actor self, Actor spy)
|
||||||
{
|
{
|
||||||
Game.world.LocalPlayer.PlayerActor.traits.Get<SonarPulsePower>().Give(1.0f);
|
spy.Owner.PlayerActor.traits.Get<SonarPulsePower>().Give(1.0f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ namespace OpenRa.Mods.RA
|
|||||||
|
|
||||||
public bool IsPathableCrush(UnitMovementType umt, Player player)
|
public bool IsPathableCrush(UnitMovementType umt, Player player)
|
||||||
{
|
{
|
||||||
return !self.Info.Traits.Get<MineInfo>().AvoidFriendly || (player != self.World.LocalPlayer);
|
return !self.Info.Traits.Get<MineInfo>().AvoidFriendly || (player != self.Owner);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsCrushableBy(UnitMovementType umt, Player player)
|
public bool IsCrushableBy(UnitMovementType umt, Player player)
|
||||||
|
|||||||
Reference in New Issue
Block a user