Fix bug: Slow narrator (Partial 25186)

No need to deselect when it was already done.

While this is the fix for the specific complaint, it does not address the larger issue of [message] being generally slow.
This commit is contained in:
Gregory A Lundberg 2016-10-25 04:53:45 -05:00
parent d825832145
commit a441fc97a2

View file

@ -387,7 +387,9 @@ function wesnoth.wml_actions.message(cfg)
end
-- Unhilight the speaker
wesnoth.deselect_hex()
if speaker and not cfg.highlight == false then
wesnoth.deselect_hex()
end
if #options > 0 then
if option_chosen > #options then