#151 fixed
This commit is contained in:
@@ -113,7 +113,7 @@ namespace OpenRA.Traits
|
|||||||
|
|
||||||
public int OrderPriority(Actor self, int2 xy, MouseInput mi, Actor underCursor)
|
public int OrderPriority(Actor self, int2 xy, MouseInput mi, Actor underCursor)
|
||||||
{
|
{
|
||||||
// Force move takes precidence
|
// Force move takes precedence
|
||||||
return mi.Modifiers.HasModifier(Modifiers.Alt) ? int.MaxValue : 0;
|
return mi.Modifiers.HasModifier(Modifiers.Alt) ? int.MaxValue : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ namespace OpenRA.Traits
|
|||||||
|
|
||||||
public void Tick(Actor self)
|
public void Tick(Actor self)
|
||||||
{
|
{
|
||||||
if (!self.IsIdle && previousLocation != self.Location)
|
if (previousLocation != self.Location)
|
||||||
{
|
{
|
||||||
previousLocation = self.Location;
|
previousLocation = self.Location;
|
||||||
self.World.WorldActor.Trait<Shroud>().UpdateActor(self);
|
self.World.WorldActor.Trait<Shroud>().UpdateActor(self);
|
||||||
|
|||||||
Reference in New Issue
Block a user