diff options
author | ubq323 <ubq323@ubq323.website> | 2024-04-02 02:49:17 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-04-02 02:49:17 +0100 |
commit | 0a845916c272a2b62b28408170e6b345d0a094f0 (patch) | |
tree | c993cf4b26b23402e5340145b1bdd5ed24920afc | |
parent | ff712cedfc79ae835672f1e26e229e5fa60d0aae (diff) |
launch beescroll
-rw-r--r-- | beescroll.lua | 4 |
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 |