From d6952e9eafe20a7069faa067fcc8521b2916d336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Sat, 3 Jun 2023 21:56:26 +0300 Subject: [PATCH] Seed the random number generator --- bundle/main.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/bundle/main.lua b/bundle/main.lua index 674bb7b..50420e0 100644 --- a/bundle/main.lua +++ b/bundle/main.lua @@ -60,6 +60,7 @@ function fromScreenCoordinate(x, y) end function love.load() + math.randomseed(os.time()) love.mouse.setVisible(false) local width, height = love.graphics.getDimensions() setScreenDimensions(width, height)