lume uses love.math.random if available

This commit is contained in:
Paul Liverman III 2018-04-23 02:33:27 -07:00
parent 78805a5e42
commit cea8f76bb3

View File

@ -32,7 +32,7 @@ local math_ceil = math.ceil
local math_atan2 = math.atan2 or math.atan
local math_sqrt = math.sqrt
local math_abs = math.abs
local math_random = math.random
local math_random = love and love.math or math.random
local noop = function()
end