From 136abc2a23f14204e87a119363ae7059cc794df7 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Mon, 17 Jul 2023 20:08:21 +0200 Subject: [PATCH] fixed style bug in identation depth --- fs_talkdialog.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs_talkdialog.lua b/fs_talkdialog.lua index 8d86875..6c38212 100644 --- a/fs_talkdialog.lua +++ b/fs_talkdialog.lua @@ -803,10 +803,10 @@ yl_speak_up.get_fs_talkdialog = function(player, n_id, d_id, alternate_text, rec active_dialog = dialog.n_dialogs[c_d_id] elseif dialog.n_dialogs ~= nil then -- Find the dialog with d_sort = 0 - c_d_id = yl_speak_up.get_start_dialog_id(dialog) - if(c_d_id) then - active_dialog = dialog.n_dialogs[c_d_id] - end + c_d_id = yl_speak_up.get_start_dialog_id(dialog) + if(c_d_id) then + active_dialog = dialog.n_dialogs[c_d_id] + end else -- it may be possible that this player can initialize this npc yl_speak_up.log_change(pname, n_id,