Compare commits
1 commit
b8c2c344f0
...
e806819475
Author | SHA1 | Date | |
---|---|---|---|
Théophile Bastian | e806819475 |
|
@ -195,7 +195,7 @@ end
|
|||
function main()
|
||||
if turtle.getFuelLevel() < FUEL_LOW then
|
||||
refuel_turtle()
|
||||
else if turtle.getFuelLevel() < distance_to_refuel() then
|
||||
elseif turtle.getFuelLevel() < distance_to_refuel() then
|
||||
print("Not enough fuel to begin with.")
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue