Skip to content

Commit

Permalink
Fix NullReferenceException when exiting a ScoreSaber replay in FPFC
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoco007 committed Oct 28, 2024
1 parent 7684cb2 commit cbd9aca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/CustomAvatar/Tracking/TrackingRig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ protected void OnDisable()
if (_activePlayerSpaceManager != null)
{
_activePlayerSpaceManager.changed -= OnActivePlayerSpaceChanged;
OnActivePlayerSpaceChanged(null);
}

if (_playerAvatarManager != null)
Expand Down

0 comments on commit cbd9aca

Please sign in to comment.