mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-01-06 08:37:30 +01:00
Reduce repulsion of carts off rails
This commit is contained in:
parent
6898675e05
commit
42fe5c4c85
@ -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 New Issue
Block a user