Attempted to fix map generation.