summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-02 04:19:38 +0100
committerubq323 <ubq323@ubq323.website>2024-04-02 04:19:38 +0100
commitc391400d970ff7e4ad39c8712f915baaa73f5b62 (patch)
tree3e819df7a634763d0a24289db4e63bf21791253b
parentc250b9cd16489ded75e84e55171b22e7a8e22f8b (diff)
launch beescroll
-rw-r--r--beescroll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/beescroll.lua b/beescroll.lua
index ccc294c..86d3fea 100644
--- a/beescroll.lua
+++ b/beescroll.lua
@@ -117,7 +117,7 @@ while true do
m.scroll(1)
m.setCursorPos(1,H)
local it
- if math.random<0.05 then it = news_item() else it = regular_item() end
+ if math.random()<0.05 then it = news_item() else it = regular_item() end
f_write(m, it, true)
os.sleep(math.random(5,100)/10)