moved fs_show_log because show_fs needs to be loaded first

This commit is contained in:
Sokomine 2024-02-09 22:14:15 +01:00
parent db2f401322
commit 24022c98b6

View File

@ -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