mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-09 16:49:35 +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
|
if self._passenger then
|
||||||
local mob = self._passenger.object
|
local mob = self._passenger.object
|
||||||
mob:set_detach()
|
mob:set_detach()
|
||||||
|
self._passenger = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue