Skip to content

Commit

Permalink
Fix orbit camera not tracking after outcome is decided
Browse files Browse the repository at this point in the history
  • Loading branch information
toberge committed Jul 12, 2024
1 parent 011c605 commit 7edd703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Control&Input/OrbitCamera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private void SwitchTarget(InputAction.CallbackContext ctx)

private void StartTracking(PlayerManager nextTarget)
{
if (!cameraTransform || !InputManager || !MatchController.Singleton.IsRoundInProgress)
if (!cameraTransform || !InputManager)
return;
isTracking = true;
camera.enabled = true;
Expand Down

0 comments on commit 7edd703

Please sign in to comment.