Generate new randomseed after use

This commit is contained in:
Niklp 2023-12-28 22:00:12 +01:00
parent 44720ca6ae
commit a9c842897c

View File

@ -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