diff --git a/tetris/randomizers/dtet.lua b/tetris/randomizers/dtet.lua index ccdcd78..d633938 100644 --- a/tetris/randomizers/dtet.lua +++ b/tetris/randomizers/dtet.lua @@ -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