From: Olav Bakke Svendsen Date: Thu, 12 Oct 2023 03:49:48 +0000 (+0200) Subject: Forgot return X-Git-Tag: stable-steam~23 X-Git-Url: http://git.olavbs.no/?a=commitdiff_plain;h=9ce30ecd99ca5f1bb0e3ee0e0b0261787cab9aab;p=cc.git Forgot return --- diff --git a/steam/temporary-coal-feeder.lua b/steam/temporary-coal-feeder.lua index 5703f89..af813c0 100644 --- a/steam/temporary-coal-feeder.lua +++ b/steam/temporary-coal-feeder.lua @@ -82,6 +82,7 @@ local spinner_chars = {"\\","-","/","|"} local spinner = function() local c = table.remove(spinner_chars) table.insert(spinner_chars, 1, c) + return c end local main_timer = os.startTimer(0) @@ -99,8 +100,8 @@ while true do elseif e[1] == "timer" and e[2] == spinner_timer then spinner_timer = os.startTimer(0.5) local s = spinner() - main_monitor.setCursorPos(27,10) - monitor.setTextColor(1) + main_monitor.setTextColor(1) + main_monitor.setCursorPos(29,12) main_monitor.write(s) end end