mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Add automatic seeding to love.run
This commit is contained in:
@@ -372,6 +372,9 @@ end
|
||||
|
||||
function love.run()
|
||||
|
||||
math.randomseed(os.time())
|
||||
math.random() math.random()
|
||||
|
||||
if love.load then love.load(arg) end
|
||||
|
||||
local dt = 0
|
||||
|
||||
Reference in New Issue
Block a user