Don't switch hats when unlocked

This commit is contained in:
Idrees Hassan
2026-01-24 22:55:46 -05:00
parent cd06a886bd
commit ea85c61955
7 changed files with 0 additions and 6 deletions

BIN
dist/extension.zip vendored

Binary file not shown.

View File

@@ -2625,7 +2625,6 @@
if (!unlockedHats.includes(hatId)) {
unlockedHats.push(hatId);
save();
switchHat(hatId);
const message = makeElement("birb-message-content");
message.appendChild(document.createTextNode("You've unlocked the "));
const bold = document.createElement("b");

View File

@@ -2668,7 +2668,6 @@ module.exports = class PocketBird extends Plugin {
if (!unlockedHats.includes(hatId)) {
unlockedHats.push(hatId);
save();
switchHat(hatId);
const message = makeElement("birb-message-content");
message.appendChild(document.createTextNode("You've unlocked the "));
const bold = document.createElement("b");

View File

@@ -2630,7 +2630,6 @@
if (!unlockedHats.includes(hatId)) {
unlockedHats.push(hatId);
save();
switchHat(hatId);
const message = makeElement("birb-message-content");
message.appendChild(document.createTextNode("You've unlocked the "));
const bold = document.createElement("b");

View File

@@ -2610,7 +2610,6 @@
if (!unlockedHats.includes(hatId)) {
unlockedHats.push(hatId);
save();
switchHat(hatId);
const message = makeElement("birb-message-content");
message.appendChild(document.createTextNode("You've unlocked the "));
const bold = document.createElement("b");

1
dist/web/birb.js vendored
View File

@@ -2610,7 +2610,6 @@
if (!unlockedHats.includes(hatId)) {
unlockedHats.push(hatId);
save();
switchHat(hatId);
const message = makeElement("birb-message-content");
message.appendChild(document.createTextNode("You've unlocked the "));
const bold = document.createElement("b");

View File

@@ -669,7 +669,6 @@ function startApplication(birbPixels, featherPixels, hatsPixels) {
if (!unlockedHats.includes(hatId)) {
unlockedHats.push(hatId);
save();
switchHat(hatId);
const message = makeElement("birb-message-content");
message.appendChild(document.createTextNode("You've unlocked the "));
const bold = document.createElement("b");