mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-09-12 20:45:25 -05:00
Fix Salmon Run tweet mystery weapon detection
This commit is contained in:
@@ -32,7 +32,7 @@ class SalmonRunTweet extends TwitterPostBase {
|
||||
}
|
||||
|
||||
getText(data) {
|
||||
let hasMysteryWeapon = data.weapons.some(w => w === null);
|
||||
let hasMysteryWeapon = data.weapons.some(w => w === null || w.coop_special_weapon);
|
||||
|
||||
if (hasMysteryWeapon)
|
||||
return `Salmon Run is now open on ${data.stage.name} with MYSTERY WEAPONS! #salmonrun #splatoon2`;
|
||||
|
||||
Reference in New Issue
Block a user