Update 'controller/Controller.lua'
This commit is contained in:
parent
57b75dc948
commit
bf0209b0d0
@ -104,7 +104,7 @@ end
|
||||
|
||||
function Controller:updateFuelLevel()
|
||||
self.turtleStatus = "checking tree"
|
||||
local s, fuelLevel = self:doAction(self.slaveId, "getFuelLevel")
|
||||
local s, fuelLevel = self:doAction(self.slaveID, "getFuelLevel")
|
||||
if(s == true) then
|
||||
self.turtleFuelLevel = fuelLevel
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user