MineRescue: Goal checks whether elevator can move, not whether it does move

scancodes-fix
Armin Burgmeier 2013-03-16 16:59:18 +01:00
parent 6d688f8d23
commit e0b977c88d
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ public func SetTarget(object target_)
// The goal is fulfilled if the target has been supplied with energy.
public func IsFulfilled()
{
return target->CurrentlyHasPower();
//return target->CurrentlyHasPower();
return target->IsPowerAvailable(target->GetNeededPower());
}
// Shows or hides a message window with information.