fix exploitability of nuke and ion cannon
This commit is contained in:
@@ -26,6 +26,8 @@ namespace OpenRA.Mods.Cnc
|
||||
|
||||
public void ResolveOrder(Actor self, Order order)
|
||||
{
|
||||
if (!IsReady) return;
|
||||
|
||||
if (order.OrderString == "IonCannon")
|
||||
{
|
||||
Owner.World.AddFrameEndTask(w =>
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
public void ResolveOrder(Actor self, Order order)
|
||||
{
|
||||
if (!IsAvailable) return;
|
||||
if (!IsReady) return;
|
||||
|
||||
if (order.OrderString == "NuclearMissile")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user