Merge pull request #6 from PEMapModder/patch-1

Fixed a crash