solved a seed thingie
This commit is contained in:
parent
b81d7213c3
commit
eea008e8c1
5
main.lua
5
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
|
||||
|
|
Loading…
Reference in New Issue