So I had an army of considerably powerful units stationed in a town being sieged by 12 enemy attackers. As it had a dragon and a healer in it, I was through 4 rounds with minimal damage when the game did not read my units as stationed in the city. Thus, when I lost with a single militia soldier, it injured my hero and killed my dragon.