From 8cab35ebacdd244981226a3f3c5d8480fd430d12 Mon Sep 17 00:00:00 2001 From: DoopieWop <62191983+DoopieWop@users.noreply.github.com> Date: Sat, 18 Jan 2025 22:28:45 +0100 Subject: [PATCH] fixed plugins inside plugins --- gamemode/core/libs/sh_plugin.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemode/core/libs/sh_plugin.lua b/gamemode/core/libs/sh_plugin.lua index 460e93b15..551a9d41b 100644 --- a/gamemode/core/libs/sh_plugin.lua +++ b/gamemode/core/libs/sh_plugin.lua @@ -83,7 +83,7 @@ function ix.plugin.Load(uniqueID, path, isSingleFile, variable) end ix.plugin.list[uniqueID] = PLUGIN - _G[variable] = nil + _G[variable] = oldPlugin end if (PLUGIN.OnLoaded) then