test
This commit is contained in:
@@ -99,12 +99,12 @@ local function refuelIfNeeded()
|
||||
local x, y, z, gpsActive = M.getPosition()
|
||||
local posText = gpsActive and
|
||||
string.format("GPS (%d,%d,%d)", x, y, z) or
|
||||
string.format("Manual (%d,%d,%d)", x, y, z)
|
||||
string.format("Travelled: (%d,%d,%d)", x, y, z)
|
||||
|
||||
if statusCallback then
|
||||
statusCallback("out_of_fuel " .. posText)
|
||||
end
|
||||
|
||||
|
||||
logger.log("No fuel. Waiting for fuel... Location: " .. posText)
|
||||
sleep(5)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user