Skip to content

Commit

Permalink
Merge pull request #2468 from niamu/door_jump
Browse files Browse the repository at this point in the history
Player can jump through door
  • Loading branch information
niamu committed Jun 20, 2015
2 parents b516ff6 + dcb58d3 commit 6bc593e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes/door.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function Door:switch(player)
end

self.player_touched = false
if math.abs(wy2 - py2) > 10 or player.jumping then
if math.abs(wy2 - py2) > 10 then
return
end

Expand Down

0 comments on commit 6bc593e

Please sign in to comment.