chair fix attempt

master
D00Med 2017-01-25 07:15:14 +10:00
parent 60ea4bd2a2
commit d4b285c9c6
1 changed files with 0 additions and 2 deletions

View File

@ -4,7 +4,6 @@ local function sit(pos, node, clicker)
pos.y = pos.y - 0.5
clicker:setpos(pos)
clicker:set_eye_offset({x=0, y=0, z=0}, {x=0, y=0, z=0})
clicker:set_physics_override(1, 1, 1)
default.player_attached[player] = false
default.player_set_animation(clicker, "stand", 30)
elseif default.player_attached[player] ~= true and node.param2 <= 3 and
@ -13,7 +12,6 @@ local function sit(pos, node, clicker)
clicker:get_player_velocity().z == 0 then
clicker:set_eye_offset({x=0, y=-7, z=2}, {x=0, y=0, z=0})
clicker:set_physics_override(0, 0, 0)
clicker:setpos(pos)
default.player_attached[player] = true
default.player_set_animation(clicker, "sit", 30)