mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +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
e8ff771347
commit
465c5b525f
1 changed files with 8 additions and 0 deletions
|
@ -158,6 +158,14 @@ namespace HeavenStudio.Games
|
|||
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()
|
||||
{
|
||||
UpdateCameraZoom();
|
||||
|
|
Loading…
Reference in a new issue