Fixed RNG in replays being different each time

This commit is contained in:
Tetro48
2023-06-14 12:06:16 +07:00
parent 9a47018a58
commit 52473c2787
29 changed files with 65 additions and 65 deletions

View File

@@ -561,7 +561,7 @@ function LifeGrid:advanceLife()
if (count == 3) and (newgrid[y][x] == empty) then
newgrid[y][x] = {
skin = "2tie",
colour = ({"R", "O", "Y", "G", "B", "C", "M"})[math.random(7)]
colour = ({"R", "O", "Y", "G", "B", "C", "M"})[love.math.random(7)]
}
end
end