Merge branch 'v26'

This commit is contained in:
evanpelle
2025-10-14 20:24:15 -07:00
10 changed files with 32 additions and 9 deletions
+1
View File
@@ -49,6 +49,7 @@ export class GutterAds extends LitElement {
}
public hide(): void {
this.isVisible = false;
console.log("hiding GutterAds");
this.destroyAds();
this.requestUpdate();
+7
View File
@@ -350,6 +350,13 @@ class Client {
"Sharing this ID will allow others to view your game history and stats.",
);
this.patternsModal.onUserMe(userMeResponse);
const flares = (userMeResponse.player.flares ?? []).filter((flare) =>
flare.startsWith("pattern:"),
);
if (flares.length > 0) {
console.log("Hiding gutter ads because you have patterns");
this.gutterAds.hide();
}
}
};
+1 -1
View File
@@ -496,7 +496,7 @@ export class Transport {
type: "donate_gold",
clientID: this.lobbyConfig.clientID,
recipient: event.recipient.id(),
gold: event.gold,
gold: event.gold ? Number(event.gold) : null,
});
}