rename parse.axes_name → axes_name_old

This commit is contained in:
Starbeamrainbowlabs 2023-07-15 01:17:26 +01:00
parent adab08ce40
commit 714716ff32
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ local Vector3 = wea_c.Vector3
local function parse_stage2(name, parts)
local result = Vector3.new()
for i,axis_name in ipairs(parts) do
local success, result_this = wea_c.parse.axis_name(axis_name, wea_c.player_dir(name))
local success, result_this = wea_c.parse.axis_name_old(axis_name, wea_c.player_dir(name))
if not success then return success, result_this end
result = result + result_this

View file

@ -17,7 +17,7 @@ wea_c.parse = {
-- Old parse functions (marked for deprecation).
-- Use parse.keytable or parse.keyword instead
axes = axes.parse_axes,
axis_name = axes.parse_axis_name,
axis_name_old = axes.parse_axis_name,
seed = dofile(wea_c.modpath.."/utils/parse/seed.lua"),
chance = dofile(wea_c.modpath.."/utils/parse/chance.lua"),