Removed util.random, added util.randomFloat #5

Merged
sorucoder merged 4 commits from develop-1.8 into develop-1.8 2018-12-09 15:43:27 -05:00
Showing only changes of commit 30640fd415 - Show all commits

View File

@@ -137,6 +137,7 @@ end
function Util.randomFloat(max, min)
min = min or 0
max = max or 0
return (max-min) * math.random() + min
end