This commit is contained in:
cheapie 2023-12-21 18:33:43 -05:00 committed by GitHub
commit 00b985b2c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -286,8 +286,8 @@ function mesecon.mvps_move_objects(pos, dir, nodestack, movefactor)
for k, v in pairs(pos) do
local edge1, edge2
if k ~= dir_k then
edge1 = v - 0.51 -- More than 0.5 to move objects near to the stack.
edge2 = v + 0.51
edge1 = v - 0.499 -- Slightly less than 0.5 so that players next to the stack don't get dragged with it
edge2 = v + 0.499
else
edge1 = v - 0.5 * dir_l
edge2 = v + (#nodestack + 0.5 * movefactor) * dir_l