mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-09 00:29:33 +01:00
Reduce repulsion of carts off rails
This commit is contained in:
parent
6898675e05
commit
42fe5c4c85
1 changed files with 1 additions and 1 deletions
|
@ -567,7 +567,7 @@ function submod.do_detached_movement(self, dtime)
|
|||
|
||||
local away = vector_away_from_players(self, staticdata)
|
||||
if away then
|
||||
local v = self.object:get_velocity()
|
||||
local v = self.object:get_velocity() * 0.25
|
||||
self.object:set_velocity(v - away)
|
||||
|
||||
-- Boost the minecart vertically a bit to get over the edge of rails and things like carpets
|
||||
|
|
Loading…
Reference in a new issue