I think I fixed the bug, but for the sake of testing I have commented out the line of code that may have fixed it.
Merge branch 'master' of https://github.com/sunsp1der/DungeonCrawl