Merge pull request #155 from Niklp09/master
Generate new randomseed after use
This commit is contained in:
commit
4e4445ff4e
@ -51,6 +51,8 @@ local function oil_amount(pos)
|
||||
local amount = math.random(OIL_MIN, OIL_MAX)
|
||||
return amount
|
||||
end
|
||||
-- Generate new randomseed after use
|
||||
math.randomseed(os.time())
|
||||
return 0
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user