Remove unused parameters.
This commit is contained in:
committed by
abcdefg30
parent
ea243b8558
commit
0e7ad43425
@@ -70,13 +70,13 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
return new DischargeableSupportPowerInstance(key, info, manager);
|
||||
}
|
||||
|
||||
public void Activate(Actor self, SupportPowerInstance instance)
|
||||
public void Activate(Actor self)
|
||||
{
|
||||
active = true;
|
||||
techTree.ActorChanged(self);
|
||||
}
|
||||
|
||||
public void Deactivate(Actor self, SupportPowerInstance instance)
|
||||
public void Deactivate(Actor self)
|
||||
{
|
||||
active = false;
|
||||
techTree.ActorChanged(self);
|
||||
@@ -119,7 +119,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
available = false;
|
||||
|
||||
foreach (var p in Instances)
|
||||
((GrantPrerequisiteChargeDrainPower)p).Deactivate(p.Self, this);
|
||||
((GrantPrerequisiteChargeDrainPower)p).Deactivate(p.Self);
|
||||
}
|
||||
|
||||
public override void Tick()
|
||||
@@ -178,7 +178,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
power.PlayLaunchSounds();
|
||||
|
||||
foreach (var p in Instances)
|
||||
((GrantPrerequisiteChargeDrainPower)p).Activate(p.Self, this);
|
||||
((GrantPrerequisiteChargeDrainPower)p).Activate(p.Self);
|
||||
}
|
||||
|
||||
public override string IconOverlayTextOverride()
|
||||
|
||||
Reference in New Issue
Block a user