From d9ddf6f24b65933b99f3755b5a4770f4fbb7f498 Mon Sep 17 00:00:00 2001 From: Madmadness65 <59298170+Madmadness65@users.noreply.github.com> Date: Sun, 21 Dec 2025 15:01:03 -0600 Subject: [PATCH] [Bug] Ensure only one layer of snow on the title (#6882) You will no longer experience blizzards (and massive slowdowns) due to many layers of the snow graphic on the main menu. --- src/ui/handlers/title-ui-handler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/handlers/title-ui-handler.ts b/src/ui/handlers/title-ui-handler.ts index de3bbecb0ce..5a55495edea 100644 --- a/src/ui/handlers/title-ui-handler.ts +++ b/src/ui/handlers/title-ui-handler.ts @@ -261,6 +261,7 @@ export class TitleUiHandler extends OptionSelectUiHandler { private getSnow(): void { const width = globalScene.scaledCanvas.width; const height = globalScene.scaledCanvas.height; + this.snow?.destroy(); // Ensures no duplicate snow layers this.snow = globalScene.add.tileSprite(width, height, width, height, "snow"); this.snow.setOrigin(1, 1);