Upbolt / Hydroxide

Lua runtime introspection and network capturing tool for games on the Roblox engine.
The Unlicense
380 stars 155 forks source link

ohaux closure search getfenv error (when setting parentScript) #108

Open tip52 opened 7 months ago

tip52 commented 7 months ago

Found a temp fix for myself: pcall setting the parentScript and only continue if its not nil.

Didn't make a pull request because:

1: I don't know how lol 2: There is probably a better way of fixing it

tip52 commented 7 months ago

Additional information: the error looks like this: invalid argument #1 to 'getfenv' (number expected, got (random data type here)