Fixed error in migration to Love2D random

pull/6/merge
Ishaan Bhardwaj 2023-07-02 15:13:44 -04:00
parent 384edf8d54
commit 3505be850f
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ function DTETRandomizer:generatePiece()
end
-- pull piece from 21-bag and update drought counters
local generated = bag[love.love.math.random(#bag)]
local generated = bag[love.math.random(#bag)]
self:updateDroughts(generated)
return generated
end