mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-07-10 10:23:05 +00:00
Don't switch hats when unlocked
This commit is contained in:
1 parent
cd06a886bd
commit
ea85c61955
7 files changed
-6
No files matched your search
Vendored
BIN
Binary file not shown.
Vendored
-1
@@ -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");
|
||||||
|
|||||||
Vendored
-1
@@ -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");
|
||||||
|
|||||||
Vendored
-1
@@ -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");
|
||||||
|
|||||||
Vendored
-1
@@ -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");
|
||||||
|
|||||||
Vendored
-1
@@ -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