fix exploitable support powers

This commit is contained in:
Chris Forbes
2010-05-13 19:57:13 +12:00
parent e05defed67
commit 753f3660aa
9 changed files with 20 additions and 9 deletions

View File

@@ -50,7 +50,7 @@ namespace OpenRA.Traits
public int TotalTime { get { return (int)(Info.ChargeTime * 60 * 25); } }
public bool IsUsed;
public bool IsAvailable;
public bool IsReady { get { return RemainingTime == 0; } }
public bool IsReady { get { return IsAvailable && RemainingTime == 0; } }
public readonly Player Owner;
bool notifiedCharging;