From c4703a7f19441b2262630a34d64f9f1c210a9375 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 17 May 2024 13:00:41 +0200 Subject: [PATCH] Fix wrong collision axis in Lua moveresult introduced by c24a04d246221e13a626f4a4dd34037a5332a935 --- builtin/game/misc_s.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/game/misc_s.lua b/builtin/game/misc_s.lua index 19708983a..ab15b230e 100644 --- a/builtin/game/misc_s.lua +++ b/builtin/game/misc_s.lua @@ -110,7 +110,7 @@ if core.set_push_moveresult1 then standing_on_object = b2, collisions = {{ type = "node", - axis = AXES[axis], + axis = AXES[axis + 1], node_pos = vector.new(npx, npy, npz), new_pos = vector.new(v0x, v0y, v0z), old_velocity = vector.new(v1x, v1y, v1z),