//maze3d: fix crash

This commit is contained in:
Starbeamrainbowlabs 2024-10-14 20:58:50 +01:00
parent e0ba5d9810
commit 45711764da
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -115,7 +115,7 @@ wea_c.register_command("maze3d", {
end,
func = function(name, replace_node, seed, path_length, path_width, path_depth)
local start_time = wea_c.get_ms_time()
local pos1, pos2 = Vector3.sort(weac.pos.get12(name))
local pos1, pos2 = Vector3.sort(wea_c.pos.get12(name))
local replaced = wea.maze3d(
pos1, pos2,
replace_node,