Issues

Issue #851 wontfix

love.run does not call math.randomseed

TurboBugger
created an issue

Put this back to love.run to prevent newbies being confused why their random numbers are always the same.

math.randomseed(os.time())
math.random()
math.random()

Comments (5)

  1. Alex Szpakowski

    Discouraging use of Lua math module seems counterproductive.

    One of the reasons love.math.random was added in the first place was because of cross-platform / implementation issues with math.random.

  2. Log in to comment