Update message.lua

This commit is contained in:
ZombieKnight 2024-12-08 13:35:49 +01:00 committed by Celtic Minstrel
parent 19be417a05
commit 9b0430e1f7

View file

@ -296,7 +296,7 @@ local function message_user_choice(cfg, speaker, options, text_input, sound)
local option_chosen, ti_content = gui.show_narration(msg_cfg, options, text_input)
if voice then
wesnoth.sources.wml_message_speaker = nil
wesnoth.audio.sources.wml_message_speaker = nil
end
if option_chosen == -2 then -- Pressed Escape (only if no input)