From ee3f141c7426e52fb900b940281b9b879dc26c6a Mon Sep 17 00:00:00 2001 From: Linventif Date: Sun, 6 Jul 2025 13:16:05 +0000 Subject: [PATCH] fix: double execution on start --- lua/autorun/gmod_integration.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/autorun/gmod_integration.lua b/lua/autorun/gmod_integration.lua index 130e930..e7107c8 100644 --- a/lua/autorun/gmod_integration.lua +++ b/lua/autorun/gmod_integration.lua @@ -5,7 +5,7 @@ local function dllInstalled() end local isLatest = debug.getinfo(1, "S").source == "@addons/_gmod_integration_latest/lua/autorun/_gmod_integration_latest.lua" -local isLatestExist = file.Exists("addons/_gmod_integration_latest/lua/autorun/_gmod_integration_latest.lua", "LUA") +local isLatestExist = file.Exists("_gmod_integration_latest", "LUA") if !alreadyLoadGMI then if dllInstalled() then if !file.Exists("gm_integration", "DATA") || !file.Exists("gm_integration/tmp.json", "DATA") then file.CreateDir("gm_integration") end