Modified [removeitem] deprecation message so that it is no longer fatal.

This commit is contained in:
Guillaume Melquiond 2010-10-03 13:30:39 +00:00
parent 406383792f
commit 6e222f37cb

View File

@ -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)