mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-05-24 19:59:36 +00:00
Don't switch hats when unlocked
This commit is contained in:
BIN
dist/extension.zip
vendored
BIN
dist/extension.zip
vendored
Binary file not shown.
1
dist/extension/birb.js
vendored
1
dist/extension/birb.js
vendored
@@ -2625,7 +2625,6 @@
|
|||||||
if (!unlockedHats.includes(hatId)) {
|
if (!unlockedHats.includes(hatId)) {
|
||||||
unlockedHats.push(hatId);
|
unlockedHats.push(hatId);
|
||||||
save();
|
save();
|
||||||
switchHat(hatId);
|
|
||||||
const message = makeElement("birb-message-content");
|
const message = makeElement("birb-message-content");
|
||||||
message.appendChild(document.createTextNode("You've unlocked the "));
|
message.appendChild(document.createTextNode("You've unlocked the "));
|
||||||
const bold = document.createElement("b");
|
const bold = document.createElement("b");
|
||||||
|
|||||||
1
dist/obsidian/main.js
vendored
1
dist/obsidian/main.js
vendored
@@ -2668,7 +2668,6 @@ module.exports = class PocketBird extends Plugin {
|
|||||||
if (!unlockedHats.includes(hatId)) {
|
if (!unlockedHats.includes(hatId)) {
|
||||||
unlockedHats.push(hatId);
|
unlockedHats.push(hatId);
|
||||||
save();
|
save();
|
||||||
switchHat(hatId);
|
|
||||||
const message = makeElement("birb-message-content");
|
const message = makeElement("birb-message-content");
|
||||||
message.appendChild(document.createTextNode("You've unlocked the "));
|
message.appendChild(document.createTextNode("You've unlocked the "));
|
||||||
const bold = document.createElement("b");
|
const bold = document.createElement("b");
|
||||||
|
|||||||
1
dist/userscript/birb.user.js
vendored
1
dist/userscript/birb.user.js
vendored
@@ -2630,7 +2630,6 @@
|
|||||||
if (!unlockedHats.includes(hatId)) {
|
if (!unlockedHats.includes(hatId)) {
|
||||||
unlockedHats.push(hatId);
|
unlockedHats.push(hatId);
|
||||||
save();
|
save();
|
||||||
switchHat(hatId);
|
|
||||||
const message = makeElement("birb-message-content");
|
const message = makeElement("birb-message-content");
|
||||||
message.appendChild(document.createTextNode("You've unlocked the "));
|
message.appendChild(document.createTextNode("You've unlocked the "));
|
||||||
const bold = document.createElement("b");
|
const bold = document.createElement("b");
|
||||||
|
|||||||
1
dist/web/birb.embed.js
vendored
1
dist/web/birb.embed.js
vendored
@@ -2610,7 +2610,6 @@
|
|||||||
if (!unlockedHats.includes(hatId)) {
|
if (!unlockedHats.includes(hatId)) {
|
||||||
unlockedHats.push(hatId);
|
unlockedHats.push(hatId);
|
||||||
save();
|
save();
|
||||||
switchHat(hatId);
|
|
||||||
const message = makeElement("birb-message-content");
|
const message = makeElement("birb-message-content");
|
||||||
message.appendChild(document.createTextNode("You've unlocked the "));
|
message.appendChild(document.createTextNode("You've unlocked the "));
|
||||||
const bold = document.createElement("b");
|
const bold = document.createElement("b");
|
||||||
|
|||||||
1
dist/web/birb.js
vendored
1
dist/web/birb.js
vendored
@@ -2610,7 +2610,6 @@
|
|||||||
if (!unlockedHats.includes(hatId)) {
|
if (!unlockedHats.includes(hatId)) {
|
||||||
unlockedHats.push(hatId);
|
unlockedHats.push(hatId);
|
||||||
save();
|
save();
|
||||||
switchHat(hatId);
|
|
||||||
const message = makeElement("birb-message-content");
|
const message = makeElement("birb-message-content");
|
||||||
message.appendChild(document.createTextNode("You've unlocked the "));
|
message.appendChild(document.createTextNode("You've unlocked the "));
|
||||||
const bold = document.createElement("b");
|
const bold = document.createElement("b");
|
||||||
|
|||||||
@@ -669,7 +669,6 @@ function startApplication(birbPixels, featherPixels, hatsPixels) {
|
|||||||
if (!unlockedHats.includes(hatId)) {
|
if (!unlockedHats.includes(hatId)) {
|
||||||
unlockedHats.push(hatId);
|
unlockedHats.push(hatId);
|
||||||
save();
|
save();
|
||||||
switchHat(hatId);
|
|
||||||
const message = makeElement("birb-message-content");
|
const message = makeElement("birb-message-content");
|
||||||
message.appendChild(document.createTextNode("You've unlocked the "));
|
message.appendChild(document.createTextNode("You've unlocked the "));
|
||||||
const bold = document.createElement("b");
|
const bold = document.createElement("b");
|
||||||
|
|||||||
Reference in New Issue
Block a user