From abf063975e86f8b0f03ceb3c7f05fd5d9516ad9c Mon Sep 17 00:00:00 2001 From: Sokomine Date: Mon, 5 Feb 2024 23:28:02 +0100 Subject: [PATCH] fixed exit button not working in initial config --- fs/fs_initial_config.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/fs_initial_config.lua b/fs/fs_initial_config.lua index ab0b51b..1753d8d 100644 --- a/fs/fs_initial_config.lua +++ b/fs/fs_initial_config.lua @@ -30,10 +30,10 @@ yl_speak_up.input_fs_initial_config = function(player, formname, fields) and not(fields.show_nametag) and not(fields.list_may_edit) and not(fields.add_may_edit) - ) or (fields and fields.Exit)) then + ) or (fields and fields.exit)) then local dialog = yl_speak_up.speak_to[pname].dialog -- unconfigured NPC - if(fields and fields.Exit and not(dialog) or not(dialog.n_dialogs)) then + if(fields and fields.exit and not(dialog) or not(dialog.n_dialogs)) then minetest.chat_send_player(pname, "Aborting initial configuration.") return end