[wesnoth-commits] [wesnoth/wesnoth] bfd0ef: Add debug for "[event] is missing name or id"
Steve Cotton
noreply at github.com
Thu Apr 21 13:36:53 UTC 2022
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: bfd0ef9af7aace4d753521fb29e9ad7b9c9419c7
https://github.com/wesnoth/wesnoth/commit/bfd0ef9af7aace4d753521fb29e9ad7b9c9419c7
Author: Steve Cotton <steve at octalot.co.uk>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
M src/game_events/manager_impl.cpp
Log Message:
-----------
Add debug for "[event] is missing name or id"
The problem with this warning was that it didn't include any clue about what
had triggered it - just that there's a broken event somewhere, and it could be
in a scenario, macro, unit_type or even from another add-on if you're using a
non-default era.
When run with `--log-debug=wml`, this makes Wesnoth print out whatever the
contents of the affected [event] tag are.
(cherry picked from commit d6b56969a012853fbfc55844b1eac98a70c0346b)
More information about the Commits
mailing list