No spawnpoint fix

Fixed error if no spawnpoints are defined