the upscale doesn't work. also bugfixes

This commit is contained in:
playinful 2024-05-19 15:40:06 -04:00
parent 7baad9bdf7
commit bee06a15c6

View file

@ -295,9 +295,14 @@ namespace HeavenStudio.Games
}
public override void OnGameSwitch(double beat)
{
_AllFishes = null;
ActiveLakes = new Dictionary<RiqEntity, LakeScene>();
DestroyOrphanedLakes();
CleanupFishSounds();
ActiveLakes = new Dictionary<RiqEntity, LakeScene>();
FishSounds = new Dictionary<RiqEntity, MultiSound>();
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))