Add automatic seeding to love.run

This commit is contained in:
Bart van Strien
2012-02-05 23:13:42 +01:00
parent db9e264685
commit 2e8939febe
2 changed files with 8 additions and 1 deletions
+3
View File
@@ -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