Merge pull request #21 from gmod-integration/v0.5.0

fix: correct path for latest Gmod integration script reference
This commit is contained in:
Grégoire Becue 2025-07-03 16:41:58 +02:00 committed by GitHub
commit b32eb2f663
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
if game.SinglePlayer() then return print("Gmod Integration is not supported in Singleplayer!") end if game.SinglePlayer() then return print("Gmod Integration is not supported in Singleplayer!") end
local alreadyLoadGMI = gmInte local alreadyLoadGMI = gmInte
local isLatest = debug.getinfo(1, "S").source == "@addons/gmod_integration_latest/lua/autorun/gmod_integration_latest.lua" local isLatest = debug.getinfo(1, "S").source == "@addons/_gmod_integration_latest/lua/autorun/_gmod_integration_latest.lua"
gmInte = gmInte || {} gmInte = gmInte || {}
gmInte.version = "0.5.0" gmInte.version = "0.5.0"
gmInte.config = {} gmInte.config = {}