From 909b429111759bc7f546e4518d8264224c14530f Mon Sep 17 00:00:00 2001 From: Linventif Date: Fri, 9 Feb 2024 22:48:31 +0100 Subject: [PATCH] Update gmInte.config initialization --- lua/autorun/gmod_integration.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lua/autorun/gmod_integration.lua b/lua/autorun/gmod_integration.lua index 6125023..4be2ce5 100644 --- a/lua/autorun/gmod_integration.lua +++ b/lua/autorun/gmod_integration.lua @@ -4,9 +4,9 @@ if game.SinglePlayer() then return end // Variables // -gmInte = gmInte or {} +gmInte = gmInte || {} gmInte.version = "0.3.0" -gmInte.config = { +gmInte.config = gmInte.config || { ["redownloadMaterials"] = false, } gmInte.materials = {} @@ -17,7 +17,6 @@ gmInte.materials = {} local function loadConfig() if (SERVER) then - print(" | Loading File | gmod_integration/sv_config.lua") RunConsoleCommand("sv_hibernate_think", "1") if (!file.Exists("gm_integration", "DATA") || !file.Exists("gm_integration/config.json", "DATA")) then file.CreateDir("gm_integration")