From 5a688e4e65be354674551cdd41c71c647dcd24c8 Mon Sep 17 00:00:00 2001 From: John Arena Date: Wed, 20 May 2020 14:31:29 -0500 Subject: [PATCH] fix(Mech Sheet): fixed an error that would pop up when equipping external batteries on a barbarossa Closes #844 --- src/classes/mech/Mech.ts | 2 -- .../components/mount/weapon/_WeaponSlotCard.vue | 8 +++++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/classes/mech/Mech.ts b/src/classes/mech/Mech.ts index b5b38e6b0..f379e56da 100644 --- a/src/classes/mech/Mech.ts +++ b/src/classes/mech/Mech.ts @@ -787,9 +787,7 @@ class Mech implements IActor { } if (this._pilot.has('Talent', 't_engineer')) { const id = `mw_prototype_${this._pilot.getTalentRank('t_engineer')}` - console.log(id) const engWeapon = store.getters.referenceByID('MechWeapons', id) - console.log(engWeapon) intg.push(new IntegratedMount(engWeapon, 'Engineer')) } return intg diff --git a/src/ui/components/panels/loadout/mech_loadout/components/mount/weapon/_WeaponSlotCard.vue b/src/ui/components/panels/loadout/mech_loadout/components/mount/weapon/_WeaponSlotCard.vue index b2c24cf6b..6330afe8f 100644 --- a/src/ui/components/panels/loadout/mech_loadout/components/mount/weapon/_WeaponSlotCard.vue +++ b/src/ui/components/panels/loadout/mech_loadout/components/mount/weapon/_WeaponSlotCard.vue @@ -30,8 +30,14 @@
- +