mirror of
https://github.com/gmod-integration/lua.git
synced 2025-08-02 11:22:42 +00:00
fix: update DLL installation logic to include debug config check
This commit is contained in:
parent
c7ea55ce73
commit
30116f1f5c
|
@ -450,7 +450,7 @@ end
|
||||||
local alreadySkipDll = false
|
local alreadySkipDll = false
|
||||||
function gmInte.openDllInstall()
|
function gmInte.openDllInstall()
|
||||||
if !LocalPlayer():gmIntIsAdmin() then return end
|
if !LocalPlayer():gmIntIsAdmin() then return end
|
||||||
if alreadySkipDll then return end
|
if alreadySkipDll || !gmInte.config.debug then return end
|
||||||
alreadySkipDll = true
|
alreadySkipDll = true
|
||||||
local frame = vgui.Create("DFrame")
|
local frame = vgui.Create("DFrame")
|
||||||
frame:SetSize(400, 250)
|
frame:SetSize(400, 250)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user