diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtx-interface.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/context/lua/mtx-interface.lua b/scripts/context/lua/mtx-interface.lua index 4aaa3b5a0..56cc68a55 100644 --- a/scripts/context/lua/mtx-interface.lua +++ b/scripts/context/lua/mtx-interface.lua @@ -138,7 +138,7 @@ function scripts.interface.check() end function scripts.interface.context() - local filename = resolvers.find_file("mult-def.lua") or "" + local filename = resolvers.find_file(environment.files[1] or "mult-def.lua") or "" if filename ~= "" then local interface = dofile(filename) if interface and next(interface) then @@ -213,7 +213,7 @@ function scripts.interface.context() end function scripts.interface.messages() - local filename = resolvers.find_file("mult-mes.lua") or "" + local filename = resolvers.find_file(environment.files[1] or "mult-mes.lua") or "" if filename ~= "" then local messages = dofile(filename) for _, interface in ipairs(messageinterfaces) do |