Fixed another crash on the map with battles.