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:
parent
e8ff771347
commit
465c5b525f
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue