mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 07:19:02 -06:00
Now using love.math.random.
This commit is contained in:
parent
f2be04f269
commit
bf2e949def
@ -58,7 +58,7 @@ function DTETRandomizer:generatePiece()
|
||||
end
|
||||
|
||||
-- pull piece from 21-bag and update drought counters
|
||||
local generated = bag[math.random(#bag)]
|
||||
local generated = bag[love.math.random(#bag)]
|
||||
self:updateDroughts(generated)
|
||||
return generated
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user