Fixed error in migration to Love2D random

This commit is contained in:
Ishaan Bhardwaj 2023-07-02 15:13:44 -04:00
parent 384edf8d54
commit 3505be850f

View File

@ -58,7 +58,7 @@ function DTETRandomizer:generatePiece()
end end
-- pull piece from 21-bag and update drought counters -- 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) self:updateDroughts(generated)
return generated return generated
end end