workaround to force animations to work due to bug in mcl

This commit is contained in:
Sumyjkl 2022-08-10 13:21:48 +10:00
parent 9adbfaa517
commit 60f8071058

View file

@ -404,6 +404,11 @@ function boat.on_step(self, dtime, moveresult)
local has_controls = false
if self._driver then
if mcl then
mcl_player.player_attached[self._driver:get_player_name()] = true
mcl_player.player_set_animation(self._driver, "walk" , 30)
mcl_player.player_set_animation(self._driver, "sit" , 30)
end
if had_passenger and not self._passenger then
set_attach(self)
end