fix #99 chronoshift-deploy didnt need to be charged
This commit is contained in:
@@ -45,8 +45,9 @@ namespace OpenRA.Mods.RA
|
|||||||
{
|
{
|
||||||
if (order.OrderString == "ChronoshiftDeploy")
|
if (order.OrderString == "ChronoshiftDeploy")
|
||||||
{
|
{
|
||||||
if (self.Owner == self.World.LocalPlayer)
|
if (chargeTick <= 0)
|
||||||
self.World.OrderGenerator = new SetChronoTankDestination(self);
|
if (self.Owner == self.World.LocalPlayer)
|
||||||
|
self.World.OrderGenerator = new SetChronoTankDestination(self);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user