Skip to content

Commit 272ccbf

Browse files
committed
fix: restore patch on shutdown
pretty sure the memory patch destructor doesn't work by itself (yet?) `Memory::Patch::~Patch`
1 parent f4b14b0 commit 272ccbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Cheats.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,8 @@ void Cheats::Shutdown() {
396396

397397
g_floorReportalPatch->Restore();
398398
SAFE_DELETE(g_floorReportalPatch);
399+
g_coopLoadingDotsPatch->Restore();
400+
SAFE_DELETE(g_coopLoadingDotsPatch);
399401
}
400402

401403

0 commit comments

Comments
 (0)