mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-09 00:29:33 +01:00
Make sure to clear _passenger after expelling mobs
This commit is contained in:
parent
bf9ad1919e
commit
48c380ca0b
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ local function activate_normal_minecart(self)
|
|||
if self._passenger then
|
||||
local mob = self._passenger.object
|
||||
mob:set_detach()
|
||||
self._passenger = nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue