[wesnoth-commits] [wesnoth/wesnoth] 28cd5f: Show a deprecation message for [event]remove=yes, ...

Steve Cotton noreply at github.com
Sun Oct 18 22:06:04 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 28cd5f1e6ebad6c57faf5157f521b48b490dccab
      https://github.com/wesnoth/wesnoth/commit/28cd5f1e6ebad6c57faf5157f521b48b490dccab
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2020-10-19 (Mon, 19 Oct 2020)

  Changed paths:
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  Show a deprecation message for [event]remove=yes, recommend [remove_event]

The remove attribute for [event] was never added to the validation schema,
and using [remove_event] seems easier to search WML for. Let's just recommend
the new key and deprecate the old one.





More information about the Commits mailing list