Skip to content
Browse files

Merge pull request #57 from jhoff/jump_and_talk_to_hilda

Can't be in the air while talking to Hilda
  • Loading branch information...
2 parents 5f826ec + a0cd8d1 commit a5ed33d4a3fe2c01f3b5dd1e3cfae12dafa34c73 @kyleconroy committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/nodes/hilda.lua
View
2 src/nodes/hilda.lua
@@ -504,7 +504,7 @@ function Hilda:keypressed(key, player)
end
end
- if (key == 'rshift' or key == 'lshift') and self.state == 'walking' then
+ if (key == 'rshift' or key == 'lshift') and self.state == 'walking' and not player.jumping then
player.freeze = true
player.state = 'idle'
self.state = 'standing'

0 comments on commit a5ed33d

Please sign in to comment.
Something went wrong with that request. Please try again.