Add InfiltrateForSupportPowerReset

This commit is contained in:
Matthias Mailänder
2020-03-08 16:11:03 +01:00
committed by abcdefg30
parent 089dd233a5
commit a1c9b27057
3 changed files with 67 additions and 0 deletions

View File

@@ -171,6 +171,11 @@ namespace OpenRA.Mods.Common.Traits
protected bool notifiedCharging;
bool notifiedReady;
public void ResetTimer()
{
remainingSubTicks = TotalTicks * 100;
}
public SupportPowerInstance(string key, SupportPowerInfo info, SupportPowerManager manager)
{
Key = key;