From 24022c98b6e0ccb87f2f877dbbc1c217435768dd Mon Sep 17 00:00:00 2001 From: Sokomine Date: Fri, 9 Feb 2024 22:14:15 +0100 Subject: [PATCH] moved fs_show_log because show_fs needs to be loaded first --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 266e818..45f870c 100644 --- a/init.lua +++ b/init.lua @@ -145,13 +145,14 @@ yl_speak_up.reload = function(modpath, log_entry) -- logging and showing the log dofile(modpath .. "api/api_logging.lua") - dofile(modpath .. "fs/fs_show_log.lua") -- players *and* npc need privs for certain things; this here handles the NPC side of things dofile(modpath .. "npc_privs.lua") -- add generic dialogs dofile(modpath .. "add_generic_dialogs.lua") -- handle on_player_receive_fields and showing of formspecs dofile(modpath .. "show_fs.lua") + -- needs to be registered after show_fs.lua so that it can register its formspecs: + dofile(modpath .. "fs/fs_show_log.lua") -- general decoration part for main formspec, trade window etc. dofile(modpath .. "api/api_decorated.lua") -- the formspec and input handling for the main dialog