This commit is contained in:
Elias Fleckenstein 2021-03-26 17:51:13 +01:00
parent 97991d138c
commit 6f8d0d4de0

View file

@ -247,7 +247,7 @@ function boat.on_step(self, dtime, moveresult)
else else
local ctrl = self._passenger:get_player_control() local ctrl = self._passenger:get_player_control()
if ctrl and ctrl.sneak then if ctrl and ctrl.sneak then
detach_player(self._passenger, true) detach_object(self._passenger, true)
self._passenger = nil self._passenger = nil
end end
end end