* Small fix to spawnpoint generator so it can't end up in an infinite loop.