mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-21 20:59:03 -06:00
Fixed error in migration to Love2D random
This commit is contained in:
parent
384edf8d54
commit
3505be850f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user