>>537229837
>run it in debugger
>discover that's it actually running out of memory due to an infinite loop
No idea what that line was supposed to do, but commenting it out makes the game actually able to create a world. Hopefully it doesn't explode later.