Skip to content

Commit

Permalink
fix(discord): fix combat discord status attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Feb 25, 2023
1 parent ee3af62 commit ae862b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pages/tradeskills/peripheral/combat/combat.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class CombatPage implements OnInit, OnDestroy {
state = `Combat Lv.${level}, exploring ${dungeon.dungeon.name}...`;
}

if(encounter.encounter.enemies[0]) {
if(encounter?.encounter?.enemies[0]) {
state = `Combat Lv.${level}, fighting ${encounter.encounter.enemies[0].name} and more...`;
}

Expand Down

0 comments on commit ae862b7

Please sign in to comment.