From 5a7adc902dd4af2ecf16b81cf8344dba42075541 Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Tue, 21 Apr 2020 15:04:07 +0200 Subject: [PATCH] rolling-15 --- number.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/number.lua b/number.lua index 7962e9b..65a8225 100644 --- a/number.lua +++ b/number.lua @@ -1,3 +1,8 @@ +-- Make random random +math.randomseed(minetest.get_us_time()) +for i = 1, 3 do + math.random() +end -- Number helpers function round(number, steps) -- Rounds a number steps = steps or 1