mirror of
https://codeberg.org/SumianVoice/sum_airship.git
synced 2025-03-15 04:11:23 +00:00
workaround to force animations to work due to bug in mcl
This commit is contained in:
parent
9adbfaa517
commit
60f8071058
1 changed files with 5 additions and 0 deletions
5
init.lua
5
init.lua
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue