Skip to content

Commit

Permalink
fix: sp portal colors after plugin unload
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisAMJ committed Jan 21, 2025
1 parent 45f8f81 commit ab3b355
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Modules/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1223,6 +1223,10 @@ void Client::Shutdown() {
Command::Unhook("playvideo_end_level_transition", Client::playvideo_end_level_transition_callback);
Command::Unhook("+leaderboard", Client::openleaderboard_callback);
Command::Unhook("unpause", Client::closeleaderboard_callback);
g_drawPortalPatch->Restore();
g_drawPortalGhostPatch->Restore();
SAFE_DELETE(g_drawPortalPatch);
SAFE_DELETE(g_drawPortalGhostPatch);
}

Client *client;

0 comments on commit ab3b355

Please sign in to comment.