Generate new randomseed after use
This commit is contained in:
parent
44720ca6ae
commit
a9c842897c
@ -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