mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 07:24:06 +00:00
Modified [removeitem] deprecation message so that it is no longer fatal.
This commit is contained in:
parent
406383792f
commit
6e222f37cb
@ -78,7 +78,4 @@ end
|
||||
|
||||
-- [removeitem] is deprecated, so print a WML error and call [remove_item]
|
||||
-- Remove after 1.9.3
|
||||
function wml_actions.removeitem(cfg)
|
||||
wml_actions.remove_item(cfg)
|
||||
helper.wml_error "Usage of [removeitem] is deprecated; support will be removed in 1.9.3. Use [remove_item] instead."
|
||||
end
|
||||
wml_actions.removeitem = helper.deprecate("Usage of [removeitem] is deprecated; support will be removed in 1.9.3. Use [remove_item] instead.", wml_actions.remove_item)
|
||||
|
Loading…
x
Reference in New Issue
Block a user