mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 15:17:36 +02: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:
@ -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();
|
||||
|
Reference in New Issue
Block a user