Open GoogleCodeExporter opened 9 years ago
Original comment by aglad...@gmail.com
on 20 Sep 2009 at 6:44
Workaround:
Override math.random as follows:
local old_math_random = math.random
math.random = function(a, b)
local v = old_math_random(a, b)
if a == nil and b == nil then
v = v % 1
end
return v
end
Original comment by aglad...@gmail.com
on 21 Sep 2009 at 5:16
Original issue reported on code.google.com by
aglad...@gmail.com
on 20 Sep 2009 at 6:20