Fixed a bug with town battles.