From bee06a15c61d9dbe083731460b763bed47115c35 Mon Sep 17 00:00:00 2001 From: playinful <82474412+playinful@users.noreply.github.com> Date: Sun, 19 May 2024 15:40:06 -0400 Subject: [PATCH] the upscale doesn't work. also bugfixes --- Assets/Scripts/Games/CatchOfTheDay/CatchOfTheDay.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/Games/CatchOfTheDay/CatchOfTheDay.cs b/Assets/Scripts/Games/CatchOfTheDay/CatchOfTheDay.cs index 827400e38..2b8f62f2e 100644 --- a/Assets/Scripts/Games/CatchOfTheDay/CatchOfTheDay.cs +++ b/Assets/Scripts/Games/CatchOfTheDay/CatchOfTheDay.cs @@ -295,9 +295,14 @@ namespace HeavenStudio.Games } public override void OnGameSwitch(double beat) { + _AllFishes = null; + ActiveLakes = new Dictionary(); DestroyOrphanedLakes(); CleanupFishSounds(); - ActiveLakes = new Dictionary(); + FishSounds = new Dictionary(); + TopColorOverrides = null; + BottomColorOverrides = null; + _AnglerIsMoving = _AnglerIsRotating = _AnglerIsScaling = false; // set ann movement foreach (RiqEntity e in EventCaller.GetAllInGameManagerList("catchOfTheDay", new string[] { "moveAngler" }).Where(e => e.beat <= beat).OrderBy(e => e.beat))