Fix instant-use and AllowMultiple support powers.

Fixes #2185, #6090.
This commit is contained in:
Paul Chote
2014-08-02 21:27:18 +12:00
parent f84b1c145e
commit efebb500f0
2 changed files with 5 additions and 3 deletions

View File

@@ -108,6 +108,7 @@ namespace OpenRA.Mods.RA
Powers[order.OrderString].Activate(order);
}
// Deprecated. Remove after SupportPowerBinWidget is removed.
public void Target(string key)
{
if (Powers.ContainsKey(key))