Fix Grizzco Mystery weapon detection

This commit is contained in:
Matt Isenhower 2024-11-29 14:33:01 -05:00
parent 951a12e7b8
commit d702340ae5

View File

@ -111,7 +111,7 @@ export const useSalmonRunSchedulesStore = defineScheduleStore('salmonRun', {
.map(n => ({
...n,
isMystery: n.setting.weapons.some(w => w.name === 'Random'),
isGrizzcoMystery: n.setting.weapons.some(w => w.__splatoon3ink_id === '6e17fbe20efecca9'),
isGrizzcoMystery: n.setting.weapons.some(w => ['6e17fbe20efecca9', '747937841598fff7'].includes(w.__splatoon3ink_id)),
}));
return sortBy(nodes, 'startTime');