[objectives.lua] improve clarity of error message (#8780)
This commit is contained in:
parent
657ed9419f
commit
d467632398
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ local function generate_objectives(cfg)
|
|||
.. color_prefix(r, g, b) .. objective_bullet.. description
|
||||
.. turn_counter .. "</span>" .. "\n"
|
||||
else
|
||||
wesnoth.interface.add_chat_message "Unknown condition, ignoring."
|
||||
wml.error("[objective] Either condition= is missing or condition= has invalid value (ignoring).")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue