mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +00:00
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
3e71fce12e
commit
3fb6258813
1 changed files with 8 additions and 0 deletions
|
@ -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