[FIX] fix town spawn between allies

I have pushed this some time ago, but now I moved it to another branch because my other push requests were mixing.