diff options
-rw-r--r-- | beescroll.lua | 2 |
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) |