From f6b09862930d1441762d44f9724ac5bc0968cece Mon Sep 17 00:00:00 2001 From: Nicholas Hayashi Date: Mon, 10 Jan 2022 16:13:32 -0500 Subject: [PATCH] comment --- lib/random.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/random.lua b/lib/random.lua index 58d2887..472fdce 100644 --- a/lib/random.lua +++ b/lib/random.lua @@ -46,6 +46,8 @@ local function random(n, m) local r if n then + -- @TODO there are some bugs with calling math.random or am.rand + -- with n or m values, so usually we should just avoid it... not sure what's it about yet log('calling random with "n" %g', n) if m then r = math.floor(R() * (m - n) + n)