Whoops
authorOlav Bakke Svendsen <mail@olavbs.no>
Thu, 12 Oct 2023 05:31:21 +0000 (07:31 +0200)
committerOlav Bakke Svendsen <mail@olavbs.no>
Thu, 12 Oct 2023 05:31:21 +0000 (07:31 +0200)
steam/temporary-coal-feeder.lua

index f7c2d8056391638b8cbdf4dba0f14a3df8370cf6..5b99379743f90213ffecf8a9d88b849457920a12 100644 (file)
@@ -102,7 +102,7 @@ while true do
     main_monitor.setCursorPos(1,1)
     main_monitor.write("rebooting...")
     os.reboot()
-  if e[1] == "timer" and e[2] == main_timer then
+  elseif e[1] == "timer" and e[2] == main_timer then
     main_timer = os.startTimer(60)
     os.cancelTimer(spinner_timer)
     print_spinner(main_monitor, 29,12, false)