AIRBOSS v0.4.0

This commit is contained in:
Frank
2018-11-29 23:41:57 +01:00
parent 99c2e76e53
commit 21f0094d7c
3 changed files with 63 additions and 47 deletions

View File

@@ -701,7 +701,7 @@ function RESCUEHELO:onafterStatus(From, Event, To)
-- Report current fuel.
local text=string.format("Rescue Helo %s: state=%s fuel=%.1f", self.helo:GetName(), self:GetState(), fuel)
self:I(text)
self:T(text)
-- If fuel < threshold ==> send helo to home base!
if fuel<self.lowfuel and self:IsRunning() then