diff --git a/data/lua/wml-tags.lua b/data/lua/wml-tags.lua index c83906424c15..6c99654e8a6b 100644 --- a/data/lua/wml-tags.lua +++ b/data/lua/wml-tags.lua @@ -893,11 +893,7 @@ function wml_actions.deprecated_message(cfg) local _ = wesnoth.textdomain "wesnoth" helper.wml_error(_"Invalid deprecation level (should be 1-4)") end - wesnoth.deprecated_message(cfg.what, cfg.level, cfg.version, cfg.message or '') - if not wesnoth.game_config.debug then return end - if cfg.level > 1 then - wesnoth.log('wml', cfg.message) - end + wesnoth.deprecation_message(cfg.what, cfg.level, cfg.version, cfg.message or '') end function wml_actions.wml_message(cfg)