Skip to content
Permalink
Browse files

fixed a bug with the battles displaying the wrong text

  • Loading branch information
Eventyret committed Aug 21, 2018
1 parent d2261a0 commit d92268082b31c66d9670458f1e038ea157174f3b
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/pages/battle-page/components/battles/battles.component.ts
@@ -25,7 +25,7 @@ export class BattlesComponent implements OnInit {
combatDisplay = true;
countdownText = 0;
helpText: string;
stopFightText = `Please stop <br />the fight to continue`;
stopFightText = `You can now stop the fight`;

ngOnInit() {
this.setBattleStatus(this.battleInput.isActive);
@@ -55,6 +55,7 @@ export class BattlesComponent implements OnInit {
}, 1500);
} else {
setTimeout(() => {
this.helpText = "Get Ready to fight";
this.battleInput.isActive = false;
this.color = "#F62D14";
this.buttonText = "Fight Again";

0 comments on commit d922680

Please sign in to comment.
You can’t perform that action at this time.