mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-16 13:03:00 +00:00
rename parse.axes_name → axes_name_old
This commit is contained in:
parent
adab08ce40
commit
714716ff32
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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"),
|
||||
|
|
Loading…
Reference in a new issue