From cea8f76bb328c51cd4b180f80b3b6036a31a638e Mon Sep 17 00:00:00 2001 From: Paul Liverman III Date: Mon, 23 Apr 2018 02:33:27 -0700 Subject: [PATCH] lume uses love.math.random if available --- lume.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lume.lua b/lume.lua index 1672daf..c38e3ae 100644 --- a/lume.lua +++ b/lume.lua @@ -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