mirror of
https://github.com/TangentFoxy/lume.git
synced 2024-11-19 07:04:24 +00:00
lume uses love.math.random if available
This commit is contained in:
parent
78805a5e42
commit
cea8f76bb3
2
lume.lua
2
lume.lua
@ -32,7 +32,7 @@ local math_ceil = math.ceil
|
|||||||
local math_atan2 = math.atan2 or math.atan
|
local math_atan2 = math.atan2 or math.atan
|
||||||
local math_sqrt = math.sqrt
|
local math_sqrt = math.sqrt
|
||||||
local math_abs = math.abs
|
local math_abs = math.abs
|
||||||
local math_random = math.random
|
local math_random = love and love.math or math.random
|
||||||
|
|
||||||
local noop = function()
|
local noop = function()
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user