Skip to content

Commit

Permalink
Merge branch 'revision' of https://github.com/Upbolt/Hydroxide into r…
Browse files Browse the repository at this point in the history
…evision
  • Loading branch information
Upbolt committed Jul 30, 2020
2 parents f5b99ab + 655dc88 commit 7bf60a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ local globalMethods = {
isXClosure = is_synapse_function or issentinelclosure or is_protosmasher_closure or is_sirhurt_closure or checkclosure
}

if is_protosmasher_closure then
globalMethods.getConstant = function(closure, index)
return globalMethods.getConstants(closure)[index]
end
end

environment.import = import
environment.hasMethods = hasMethods
environment.oh = {
Expand Down

0 comments on commit 7bf60a8

Please sign in to comment.