summaryrefslogtreecommitdiff
path: root/indra/llcommon/llfile.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-06-18 09:11:29 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-06-18 09:11:29 -0400
commitaff78224a026bbf17e6ac4818228c0e1814c4226 (patch)
tree16f7f817a638ac0f0da9a14ce7d3048347252671 /indra/llcommon/llfile.cpp
parent5b6a5c757deaba3c2b361eb49f2e61630fe3eb47 (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