fix: remove stuck carriage bug
Removes bug where carriage would get stuck between floors by calling it to the first floor on program start.
This commit is contained in:
parent
6672c75d1a
commit
ee6685eda2
1 changed files with 1 additions and 0 deletions
|
|
@ -161,5 +161,6 @@ function run (floors, queue, first_run)
|
||||||
end
|
end
|
||||||
|
|
||||||
if arg ~= nil and arg[1] == "run" then
|
if arg ~= nil and arg[1] == "run" then
|
||||||
|
FLOORS[1].call()
|
||||||
run(FLOORS, PKG_QUEUE, true)
|
run(FLOORS, PKG_QUEUE, true)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue