mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-12-01 00:23:00 +00:00
Fix #530 (Players were stuck in sitting animation after being out of minecart).
This commit is contained in:
parent
d4facaf503
commit
b1f201f538
1 changed files with 1 additions and 0 deletions
|
@ -492,6 +492,7 @@ register_minecart(
|
||||||
self._start_pos = nil
|
self._start_pos = nil
|
||||||
clicker:set_detach()
|
clicker:set_detach()
|
||||||
clicker:set_eye_offset({x=0, y=0, z=0},{x=0, y=0, z=0})
|
clicker:set_eye_offset({x=0, y=0, z=0},{x=0, y=0, z=0})
|
||||||
|
mcl_player.player_set_animation(clicker, "stand" , 30)
|
||||||
elseif not self._driver then
|
elseif not self._driver then
|
||||||
self._driver = player_name
|
self._driver = player_name
|
||||||
self._start_pos = self.object:get_pos()
|
self._start_pos = self.object:get_pos()
|
||||||
|
|
Loading…
Reference in a new issue