summaryrefslogtreecommitdiff
path: root/beescroll.lua
diff options
context:
space:
mode:
Diffstat (limited to 'beescroll.lua')
-rw-r--r--beescroll.lua4
1 files 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