[wesnoth-commits] [wesnoth/wesnoth] d6b569: Add debug for "[event] is missing name or id"

Steve Cotton noreply at github.com
Thu Apr 21 13:29:30 UTC 2022


  Branch: refs/heads/1.16
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d6b56969a012853fbfc55844b1eac98a70c0346b
      https://github.com/wesnoth/wesnoth/commit/d6b56969a012853fbfc55844b1eac98a70c0346b
  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.





More information about the Commits mailing list