fixed logging of option changes in update option
This commit is contained in:
parent
c0ed2cc148
commit
dc223d99f5
@ -346,8 +346,9 @@ yl_speak_up.update_dialog_option = function(log, dialog, dialog_name, option_nam
|
||||
-- name the thing for logging purposes
|
||||
local log_str = "Dialog "..tostring(d_id)
|
||||
if(dialog_name and dialog_name ~= d_id) then
|
||||
log_str = log_str.." ["..tostring(dialog_name).."], option <"..tostring(option_name)..">: "
|
||||
log_str = log_str.." ["..tostring(dialog_name).."]"
|
||||
end
|
||||
log_str = log_str..", option <"..tostring(option_name)..">: "
|
||||
|
||||
-- translate the name of the target_dialog if needed
|
||||
if(target_dialog and not(yl_speak_up.is_special_dialog(target_dialog))) then
|
||||
|
Loading…
Reference in New Issue
Block a user