mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-04-26 08:18:59 -05:00
Fix Splatfest Battle (Open) presence schedule
This commit is contained in:
parent
6656ca97e0
commit
5ef9101c1e
14
package-lock.json
generated
14
package-lock.json
generated
|
|
@ -20,7 +20,7 @@
|
||||||
"node-notifier": "^10.0.1",
|
"node-notifier": "^10.0.1",
|
||||||
"node-persist": "^3.1.3",
|
"node-persist": "^3.1.3",
|
||||||
"read": "^1.0.7",
|
"read": "^1.0.7",
|
||||||
"splatnet3-types": "^0.2.20230830134457",
|
"splatnet3-types": "^0.2.20231119210145",
|
||||||
"supports-color": "^8.1.1",
|
"supports-color": "^8.1.1",
|
||||||
"tslib": "^2.6.0",
|
"tslib": "^2.6.0",
|
||||||
"undici": "^5.22.1",
|
"undici": "^5.22.1",
|
||||||
|
|
@ -5257,9 +5257,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/splatnet3-types": {
|
"node_modules/splatnet3-types": {
|
||||||
"version": "0.2.20230830134457",
|
"version": "0.2.20231119210145",
|
||||||
"resolved": "https://registry.npmjs.org/splatnet3-types/-/splatnet3-types-0.2.20230830134457.tgz",
|
"resolved": "https://registry.npmjs.org/splatnet3-types/-/splatnet3-types-0.2.20231119210145.tgz",
|
||||||
"integrity": "sha512-BlTEpzWe4cbps17oqbFAP56YbHmWXTy2wppeZ5JKUNwAy6U6bNt3DVm2YDyg7Od3VQjm1qEMukKEmznrTjSaPw=="
|
"integrity": "sha512-ySnftvxfn7zuGUgBxcjGPYhVHs8QaUCxHdbUNw4u46bXwtxQ82eyvXc+sDQI5TcHHPHz821PyrhtWW3pt9QdAg=="
|
||||||
},
|
},
|
||||||
"node_modules/sprintf-js": {
|
"node_modules/sprintf-js": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
|
|
@ -9943,9 +9943,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"splatnet3-types": {
|
"splatnet3-types": {
|
||||||
"version": "0.2.20230830134457",
|
"version": "0.2.20231119210145",
|
||||||
"resolved": "https://registry.npmjs.org/splatnet3-types/-/splatnet3-types-0.2.20230830134457.tgz",
|
"resolved": "https://registry.npmjs.org/splatnet3-types/-/splatnet3-types-0.2.20231119210145.tgz",
|
||||||
"integrity": "sha512-BlTEpzWe4cbps17oqbFAP56YbHmWXTy2wppeZ5JKUNwAy6U6bNt3DVm2YDyg7Od3VQjm1qEMukKEmznrTjSaPw=="
|
"integrity": "sha512-ySnftvxfn7zuGUgBxcjGPYhVHs8QaUCxHdbUNw4u46bXwtxQ82eyvXc+sDQI5TcHHPHz821PyrhtWW3pt9QdAg=="
|
||||||
},
|
},
|
||||||
"sprintf-js": {
|
"sprintf-js": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
"node-notifier": "^10.0.1",
|
"node-notifier": "^10.0.1",
|
||||||
"node-persist": "^3.1.3",
|
"node-persist": "^3.1.3",
|
||||||
"read": "^1.0.7",
|
"read": "^1.0.7",
|
||||||
"splatnet3-types": "^0.2.20230830134457",
|
"splatnet3-types": "^0.2.20231119210145",
|
||||||
"supports-color": "^8.1.1",
|
"supports-color": "^8.1.1",
|
||||||
"tslib": "^2.6.0",
|
"tslib": "^2.6.0",
|
||||||
"undici": "^5.22.1",
|
"undici": "^5.22.1",
|
||||||
|
|
|
||||||
|
|
@ -196,7 +196,7 @@ export function getSettingForVsMode(schedules: StageScheduleResult, vs_mode: Pic
|
||||||
const settings = getSchedule(schedules.festSchedules)?.festMatchSettings;
|
const settings = getSchedule(schedules.festSchedules)?.festMatchSettings;
|
||||||
|
|
||||||
if (vs_mode.id === 'VnNNb2RlLTY=') {
|
if (vs_mode.id === 'VnNNb2RlLTY=') {
|
||||||
return settings?.find(s => (s as VsSetting_schedule)!.festMode === FestMatchMode.OPEN);
|
return settings?.find(s => (s as VsSetting_schedule)!.festMode === FestMatchMode.REGULAR);
|
||||||
}
|
}
|
||||||
if (vs_mode.id === 'VnNNb2RlLTc=') {
|
if (vs_mode.id === 'VnNNb2RlLTc=') {
|
||||||
return settings?.find(s => (s as VsSetting_schedule)!.festMode === FestMatchMode.CHALLENGE);
|
return settings?.find(s => (s as VsSetting_schedule)!.festMode === FestMatchMode.CHALLENGE);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user