From 0a845916c272a2b62b28408170e6b345d0a094f0 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Tue, 2 Apr 2024 02:49:17 +0100 Subject: launch beescroll --- beescroll.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beescroll.lua b/beescroll.lua index fe0ac86..8f61b9a 100644 --- a/beescroll.lua +++ b/beescroll.lua @@ -6,7 +6,7 @@ local cities = {} local fp = assert(fs.open("/cities.txt","r")) repeat local line = fp.readLine() - table.isert(cities,line) + table.insert(cities,line) until not line fp.close() @@ -67,7 +67,7 @@ while true do m.setCursorPos(1,H) m.write(("%5d bees have been %s in %s."):format( x, choice(verbs), choice(cities) - ) + )) os.sleep(1) end -- cgit v1.2.3