From c7de1fef35632661665476470a8ffa0d4584c3fa Mon Sep 17 00:00:00 2001 From: John Doe Date: Sat, 25 Oct 2025 22:15:45 +0100 Subject: [PATCH] Fix gamepath missing type check --- src/modules/love/boot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/love/boot.lua b/src/modules/love/boot.lua index 9d8ed7f0b..cf119032a 100644 --- a/src/modules/love/boot.lua +++ b/src/modules/love/boot.lua @@ -53,7 +53,7 @@ function love.boot() if love.restart and type(love.restart) == "table" then local was_no_game = love.restart.noGameRestartInfo if was_no_game and type(was_no_game) == "table" then - if was_no_game.gamepath then + if was_no_game.gamepath and type(was_no_game.gamepath) == "string" then table.insert(arg, 1, was_no_game.gamepath) end end