Skip to content

Commit

Permalink
Unregister Keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
acidbubbles committed Mar 28, 2021
1 parent 379e989 commit d94e61b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Passenger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,11 @@ public void OnDisable()
}
}

public void OnDestroy()
{
SuperController.singleton.BroadcastMessage("OnActionsProviderDestroyed", this, SendMessageOptions.DontRequireReceiver);
}

private void OnBeforeSceneSave()
{
if (_activeJSON.val)
Expand Down

0 comments on commit d94e61b

Please sign in to comment.