Renamed love.math.g/setRandomState and rng:g/setState to love.math.g/setRandomSeed and rng:g/setSeed.

getRandomSeed now always returns the previously set random seed instead of the current (implementation-dependent) random state.
This commit is contained in:
Alex Szpakowski
2013-12-01 21:25:27 -04:00
parent 6e82ca88ed
commit 1c8abc74aa
9 changed files with 68 additions and 65 deletions
+1 -1
View File
@@ -453,7 +453,7 @@ end
function love.run()
if love.math then
love.math.setRandomState(os.time())
love.math.setRandomSeed(os.time())
end
if love.event then