Fix Salmon Run tweet mystery weapon detection

This commit is contained in:
Matt Isenhower
2018-07-01 10:39:07 -07:00
parent cfb0a03a5a
commit 7b3905da61

View File

@@ -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`;