mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 06:43:17 -04:00
bReAk tHe LiNe
This commit is contained in:
parent
a0a948e7ea
commit
1bcdb6ec27
1 changed files with 2 additions and 1 deletions
|
@ -172,7 +172,8 @@ function boat.on_step(self, dtime)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local velo = self.object:get_velocity()
|
local velo = self.object:get_velocity()
|
||||||
if not self.driver and self.v == 0 and velo.x == 0 and velo.y == 0 and velo.z == 0 then
|
if not self.driver and
|
||||||
|
self.v == 0 and velo.x == 0 and velo.y == 0 and velo.z == 0 then
|
||||||
self.object:set_pos(self.object:get_pos())
|
self.object:set_pos(self.object:get_pos())
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue