diff --git a/main.lua b/main.lua index 64759a3..098062d 100644 --- a/main.lua +++ b/main.lua @@ -42,8 +42,9 @@ end function love.keypressed(key) if key == "z" then obj_list = {} - notsorandomseed = love.data.encode("string", "hex", love.data.hash("sha256", os.time())) - math.randomseed(tonumber(notsorandomseed, 16)) + notsorandomseed = os.time() + math.randomseed(notsorandomseed) + notsorandomseed = love.data.encode("string", "hex", love.data.hash("sha256", notsorandomseed)) generate_museum(0,0,0) end if key == "escape" then