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:
parent
d825832145
commit
a441fc97a2
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue