There's currently an error where if you lose a battle, you actually win. We're working on it.