Merge pull request #155 from Niklp09/master

Generate new randomseed after use
This commit is contained in:
Joachim Stolberg 2023-12-30 11:32:32 +01:00 committed by GitHub
commit 4e4445ff4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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