Also correct the dperecation message regarding the previous commit
[ci skip]
This commit is contained in:
parent
c7e84f487c
commit
5a27cd5b1b
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue