💬

Community answer

Collected from the ACE community Discord archive around 2018-08-28. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

debug.getinfo source broken in nested requires

🌙 LuaUpdated 2 days ago•0 views
It's a bug in SF's require/requireDir/include handling of nested files - the source path resolution breaks; try --@client-only code or restructure includes to a…

Why does debug.getinfo(2,'S').source return garbage when requiring nested files

It's a bug in SF's require/requireDir/include handling of nested files - the source path resolution breaks; try --@client-only code or restructure includes to avoid deep nesting.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.