fixes a crash on maps with only one spawn point