mirror of
https://github.com/gmod-integration/lua.git
synced 2025-07-07 08:23:58 +00:00
fix: double execution on start
This commit is contained in:
parent
a269b85698
commit
ee3f141c74
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user