Fix bug in battle_controller.