uses the proper random library

This commit is contained in:
duncathan 2019-03-27 23:43:26 -06:00
parent b59bc37911
commit b97eb73d46

View file

@ -97,7 +97,7 @@ function C:_seedRngesus()
logWarning('Seed is too short, generate a new')
seed = tostring(os.time())
end
math.randomseed(seed)
love.math.setRandomSeed(seed)
logNotice(('Offering seed "%s" to RNGesus' ):format(seed))
end