Fixed camera staying zoomed out on game switch (#256)

* Update Ringside.cs

* make unwanted ringside inputs score misses

update game icons

* Camera doesn't zoom out when it shouldn't

---------

Co-authored-by: minenice55 <star.elementa@gmail.com>
This commit is contained in:
Rapandrasmus 2023-02-05 00:14:32 +01:00 committed by GitHub
parent 3e71fce12e
commit 3fb6258813

View file

@ -158,6 +158,14 @@ namespace HeavenStudio.Games
if (queuedPoses.Count > 0) queuedPoses.Clear(); if (queuedPoses.Count > 0) queuedPoses.Clear();
} }
void OnGameSwitch(float beat)
{
shouldNotInput = false;
shouldBop = true;
lastCamPos = new Vector3(0, 0, -10);
currentCamPos = new Vector3(0, 0, -10);
}
public override void OnTimeChange() public override void OnTimeChange()
{ {
UpdateCameraZoom(); UpdateCameraZoom();