Try to fix grading up creating 2 node walls

This commit is contained in:
Perttu Ahola 2023-04-01 19:32:27 +03:00
parent e0a9182033
commit 14028ad9fd

View File

@ -308,7 +308,7 @@ minetest.register_entity("bulldozer:bulldozer", {
if ctrl.up then if ctrl.up then
local object_pos2 = self.object:get_pos() local object_pos2 = self.object:get_pos()
if ctrl.jump then if ctrl.jump then
object_pos2.y = object_pos2.y - y_off + 1.1 object_pos2.y = object_pos2.y - y_off + 0.6
elseif ctrl.sneak then elseif ctrl.sneak then
object_pos2.y = object_pos2.y - y_off - 0.9 object_pos2.y = object_pos2.y - y_off - 0.9
else else