diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-01-19 14:11:28 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-01-19 14:11:28 +0000 |
commit | a33a52d140aaaf92d32f345a2c9f6f4cbbcede3d (patch) | |
tree | 7fe1dc34e6fed8d39a520d26b35b1424fc93e0ca /mount.lua | |
parent | 3ba7defa3a47508b4b8b6d237db521d7fc7b0735 (diff) |
set player visual scale when riding
Diffstat (limited to 'mount.lua')
-rw-r--r-- | mount.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -135,6 +135,7 @@ function mobs.attach(entity, player) player:set_attach(entity.object, "", attach_at, entity.player_rotation) default.player_attached[player:get_player_name()] = true player:set_eye_offset(eye_offset, {x = 0, y = 0, z = 0}) + player:set_properties({visual_size = {x=1, y=1}}) minetest.after(0.2, function() default.player_set_animation(player, "sit" , 30) |