Skip to content

Commit

Permalink
Remove events before cleaning up on disable
Browse files Browse the repository at this point in the history
  • Loading branch information
Pespiri committed Apr 5, 2020
1 parent c4553bb commit 51270fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TransparentWall/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ private void Load()

private void Unload()
{
RemoveEvents();
TransparentWallPatches.RemoveHarmonyPatches();
ScoreUtility.Cleanup();
Configuration.Save();
SettingsUI.RemoveMenu();
RemoveEvents();
}

private void AddEvents()
Expand Down

0 comments on commit 51270fb

Please sign in to comment.