Replay system v3 + love.math.random migration

This commit is contained in:
Ishaan Bhardwaj
2021-12-08 21:23:00 -05:00
parent 9b41e56135
commit 89c7205347
11 changed files with 50 additions and 44 deletions

View File

@@ -16,7 +16,7 @@ function Randomizer:initialize()
end
function Randomizer:generatePiece()
return self.possible_pieces[math.random(7)]
return self.possible_pieces[love.math.random(7)]
end
return Randomizer