[wesnoth-commits] [wesnoth/wesnoth] cd7593: don't call error() on invalid toplevel tag

gfgtdf noreply at github.com
Sat Mar 7 23:04:27 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: cd75931f7f4c408a001d21356a758ee46d4b878b
      https://github.com/wesnoth/wesnoth/commit/cd75931f7f4c408a001d21356a758ee46d4b878b
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2020-03-08 (Sun, 08 Mar 2020)

  Changed paths:
    M data/lua/core.lua

  Log Message:
  -----------
  don't call error() on invalid toplevel tag

 this code handles wesnoth.persistent_tags which is used by all addons. The previous behviour would mean that an addon that uses wesnoth.persistent_tags wrongly would also break other code that uses wesnoth.persistent_tags like the [item] implementation.





More information about the Commits mailing list