mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-06-28 07:54:55 +00:00
rename parse.axes_name → axes_name_old
This commit is contained in:
parent
adab08ce40
commit
714716ff32
|
@ -5,7 +5,7 @@ local Vector3 = wea_c.Vector3
|
||||||
local function parse_stage2(name, parts)
|
local function parse_stage2(name, parts)
|
||||||
local result = Vector3.new()
|
local result = Vector3.new()
|
||||||
for i,axis_name in ipairs(parts) do
|
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
|
if not success then return success, result_this end
|
||||||
|
|
||||||
result = result + result_this
|
result = result + result_this
|
||||||
|
|
|
@ -17,7 +17,7 @@ wea_c.parse = {
|
||||||
-- Old parse functions (marked for deprecation).
|
-- Old parse functions (marked for deprecation).
|
||||||
-- Use parse.keytable or parse.keyword instead
|
-- Use parse.keytable or parse.keyword instead
|
||||||
axes = axes.parse_axes,
|
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"),
|
seed = dofile(wea_c.modpath.."/utils/parse/seed.lua"),
|
||||||
chance = dofile(wea_c.modpath.."/utils/parse/chance.lua"),
|
chance = dofile(wea_c.modpath.."/utils/parse/chance.lua"),
|
||||||
|
|
Loading…
Reference in a new issue