Fix bug in Refueling wpt's predicate

This commit is contained in:
Raffson 2025-04-06 15:26:46 +02:00
parent 8cd2b55e04
commit ace9f6bbc5
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -20,5 +20,5 @@ class RefuelPointBuilder(PydcsWaypointBuilder):
--trigger.action.outText(tostring(Unit.getFuel(unitObject)), 15)
if Unit.getFuel(unitObject) < {fuel_level} then okfuel = false; break end
end
return lowfuel
return okfuel
"""