-
+
-
![]()
-

+
+
+
+
+
+
+
+
+
+
+
@@ -36,10 +51,6 @@ export default {
let stage = this.schedule.stage;
return this.$t(`splatnet.coop_stages.${stage.image}.name`, stage.name);
},
- weapons() {
- if (this.schedule.weapons)
- return this.schedule.weapons.map(w => w ? w.weapon : null);
- },
},
}
diff --git a/src/updater/updaters/CoopSchedulesUpdater.js b/src/updater/updaters/CoopSchedulesUpdater.js
index ac1b1c8..3b34869 100644
--- a/src/updater/updaters/CoopSchedulesUpdater.js
+++ b/src/updater/updaters/CoopSchedulesUpdater.js
@@ -10,6 +10,7 @@ class CoopSchedulesUpdater extends Updater {
imagePaths: [
'$..stage.image',
'$..weapons[*].weapon.image',
+ '$..coop_special_weapon.image'
],
localization: [
{
@@ -18,6 +19,12 @@ class CoopSchedulesUpdater extends Updater {
id: 'image', // Unfortunately these don't have an ID, so we'll just match them by image URL
values: 'name',
},
+ {
+ name: 'coop_special_weapons',
+ entities: '$..coop_special_weapon',
+ id: 'image', // These don't have a name either
+ values: 'name',
+ },
{
name: 'weapons',
entities: '$..weapons[?(@.id)].weapon',