Skip to content

Commit f74ba97

Browse files
authored
Merge pull request #478 from DoopieWop/fix-plugins-inside-plugins
Fixed plugins inside plugins (Repost)
2 parents d5f26fa + 8cab35e commit f74ba97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gamemode/core/libs/sh_plugin.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function ix.plugin.Load(uniqueID, path, isSingleFile, variable)
8383
end
8484

8585
ix.plugin.list[uniqueID] = PLUGIN
86-
_G[variable] = nil
86+
_G[variable] = oldPlugin
8787
end
8888

8989
if (PLUGIN.OnLoaded) then

0 commit comments

Comments
 (0)