fix randomseed crash

master
MisterE 2022-06-01 18:34:12 -04:00
parent d75c65fa53
commit 7353bbd9d1
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ local balloon = {
--Setup fallspeed
on_activate = function(self, staticdata, dtime_s)
math.randomseed(os.time())
math.randomseed = os.time()
local point_chance = math.random(1,3)
if point_chance == 1 then
self._points = "10"