diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-06-18 09:11:29 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-06-18 09:11:29 -0400 |
commit | aff78224a026bbf17e6ac4818228c0e1814c4226 (patch) | |
tree | 16f7f817a638ac0f0da9a14ce7d3048347252671 /indra/llcommon/llfile.cpp | |
parent | 5b6a5c757deaba3c2b361eb49f2e61630fe3eb47 (diff) |
Make lluau::source_path() report top-level script path.
source_path() previously reported the path of the module containing the
current (lowest-level) Lua function. The effect was that the Floater.lua
module would always try to look up the XUI file relative to
scripts/lua/require.
It makes more intuitive sense to make source_path() return the path containing
the top-level script, so that a script engaging the Floater.lua module looks
for the XUI file relative to the script.
Diffstat (limited to 'indra/llcommon/llfile.cpp')
0 files changed, 0 insertions, 0 deletions