Revert "TS: EMP Cannon should only be able to fire via the support power. Fix…"

This reverts commit cd5eb89ebc.
This commit is contained in:
Matthias Mailänder
2024-08-04 18:54:30 +02:00
committed by Gustas
parent 014163d7d3
commit 04d45e1f54
3 changed files with 3 additions and 43 deletions

View File

@@ -31,7 +31,7 @@ namespace OpenRA.Mods.Common.Orders
IEnumerable<IRenderable> IOrderGenerator.RenderAboveShroud(WorldRenderer wr, World world) { return RenderAboveShroud(wr, world); }
IEnumerable<IRenderable> IOrderGenerator.RenderAnnotations(WorldRenderer wr, World world) { return RenderAnnotations(wr, world); }
string IOrderGenerator.GetCursor(World world, CPos cell, int2 worldPixel, MouseInput mi) { return GetCursor(world, cell, worldPixel, mi); }
void IOrderGenerator.Deactivate() { Deactivate(); }
void IOrderGenerator.Deactivate() { }
bool IOrderGenerator.HandleKeyPress(KeyInput e) { return false; }
void IOrderGenerator.SelectionChanged(World world, IEnumerable<Actor> selected) { SelectionChanged(world, selected); }
@@ -42,6 +42,5 @@ namespace OpenRA.Mods.Common.Orders
protected abstract string GetCursor(World world, CPos cell, int2 worldPixel, MouseInput mi);
protected abstract IEnumerable<Order> OrderInner(World world, CPos cell, int2 worldPixel, MouseInput mi);
protected virtual void SelectionChanged(World world, IEnumerable<Actor> selected) { }
protected virtual void Deactivate() { }
}
}