hawkthorne/hawkthorne-journey — pull request #1258 by lafncow (2013-04-16 23:33:21+00:00)
Title: Partial fix to tavern floorspace bug

Partial fix to https://github.com/hawkthorne/hawkthorne-journey/issues/957
The "else" statement in [floorspace.lua](https://github.com/hawkthorne/hawkthorne-journey/blob/master/src/nodes/floorspace.lua#L265-L273) marked with the comment "primary only" was still being run in some situations where the node was not primary, such as when fb.isBlocked is true.
By checking for self.isPrimary I found that the player still can get stuck behind the tavern bar, but they can also now easily escape by jumping while holding down.
*Thanks to CalebJohn for the inspiration