mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
love.math.setRandomSeed now calls random() a couple times internally, to make similar seeds give less similar results when random() is called for the first time after setRandomSeed.
This commit is contained in:
@@ -468,7 +468,6 @@ function love.run()
|
||||
|
||||
if love.math then
|
||||
love.math.setRandomSeed(os.time())
|
||||
for i=1,3 do love.math.random() end
|
||||
end
|
||||
|
||||
if love.event then
|
||||
|
||||
Reference in New Issue
Block a user