Skip to content

Commit

Permalink
Better debug.getregistry compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown-gd committed Apr 10, 2024
1 parent 06547b6 commit cfd8f2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/autorun/!!!random-patches.yue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CLIENT = CLIENT
SERVER = SERVER
pairs = pairs

addonName = "Random Patches v5.18.0"
addonName = "Random Patches v5.18.1"

getHookName = ( patchName, hookName ) ->
return addonName .. "::" .. patchName .. ( hookName or "" )
Expand Down Expand Up @@ -173,7 +173,7 @@ do
unless registry
rawset = rawset

registry = setmetatable( {}, {
registry = setmetatable( debug.getregistry! or {}, {
"__index": ( tbl, key ) ->
value = findMetaTable( key )
if value == nil
Expand Down

0 comments on commit cfd8f2d

Please sign in to comment.