Replay system v3 + love.math.random migration

This commit is contained in:
Ishaan Bhardwaj
2021-12-08 21:23:00 -05:00
parent 9b41e56135
commit 89c7205347
11 changed files with 50 additions and 44 deletions

View File

@@ -6,7 +6,7 @@ function Bag7NoSZOStartRandomizer:shuffleBag()
local b = self.bag
local ln = #b
for i = 1, ln do
local j = math.random(i, ln)
local j = love.math.random(i, ln)
b[i], b[j] = b[j], b[i]
end
end