Allow mods to determine associated SuperPower from SelectGenericPowerTarget
This commit is contained in:
committed by
Matthias Mailänder
parent
16ff9fbc8e
commit
ef7c49c116
@@ -265,6 +265,8 @@ namespace OpenRA.Mods.Common.Traits
|
||||
readonly string cursor;
|
||||
readonly MouseButton expectedButton;
|
||||
|
||||
public string OrderKey { get { return order; } }
|
||||
|
||||
public SelectGenericPowerTarget(string order, SupportPowerManager manager, string cursor, MouseButton button)
|
||||
{
|
||||
// Clear selection if using Left-Click Orders
|
||||
|
||||
Reference in New Issue
Block a user