fix IsPowerAvailable function in power library

Controls
Maikel de Vries 2014-12-21 20:20:17 +01:00
parent 305637b246
commit 1e5d5b56da
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ public func GetPowerBalance()
public func IsPowerAvailable(object obj, int amount)
{
// Ignore object for now.
return power_balance > amount;
return power_balance >= amount;
}
public func Init()