diff --git a/data/lua/core.lua b/data/lua/core.lua index 997194d101a..049a9edda50 100644 --- a/data/lua/core.lua +++ b/data/lua/core.lua @@ -640,9 +640,9 @@ if wesnoth.kernel_type() == "Game Lua Kernel" then wesnoth.unit_jamming_cost = wesnoth.deprecate_api('wesnoth.unit_jamming_cost', 'wesnoth.units.jamming_on', 1, nil, wesnoth.units.jamming_on) wesnoth.units.resistance = wesnoth.deprecate_api('wesnoth.units.resistance', 'wesnoth.units.resistance_against', 1, nil, wesnoth.units.resistance) wesnoth.units.defense = wesnoth.deprecate_api('wesnoth.units.defense', 'wesnoth.units.defense_on', 1, nil, wesnoth.units.chance_to_be_hit) - wesnoth.units.movement = wesnoth.deprecate_api('wesnoth.units.movement_cost', 'wesnoth.units.movement_on', 1, nil, wesnoth.units.movement_on) - wesnoth.units.vision = wesnoth.deprecate_api('wesnoth.units.vision_cost', 'wesnoth.units.vision_on', 1, nil, wesnoth.units.vision_on) - wesnoth.units.jamming = wesnoth.deprecate_api('wesnoth.units.jamming_cost', 'wesnoth.units.jamming_on', 1, nil, wesnoth.units.jamming_on) + wesnoth.units.movement = wesnoth.deprecate_api('wesnoth.units.movement', 'wesnoth.units.movement_on', 1, nil, wesnoth.units.movement_on) + wesnoth.units.vision = wesnoth.deprecate_api('wesnoth.units.vision', 'wesnoth.units.vision_on', 1, nil, wesnoth.units.vision_on) + wesnoth.units.jamming = wesnoth.deprecate_api('wesnoth.units.jamming', 'wesnoth.units.jamming_on', 1, nil, wesnoth.units.jamming_on) wesnoth.unit_ability = wesnoth.deprecate_api('wesnoth.unit_ability', 'wesnoth.units.ability', 1, nil, wesnoth.units.ability) wesnoth.transform_unit = wesnoth.deprecate_api('wesnoth.transform_unit', 'wesnoth.units.transform', 1, nil, wesnoth.units.transform) wesnoth.select_unit = wesnoth.deprecate_api('wesnoth.select_unit', 'wesnoth.units.select', 1, nil, wesnoth.units.select)