Skip to content

Commit

Permalink
fix #65
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Dec 28, 2024
1 parent 46222ab commit 73766af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/hooks/GameLevelManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,12 @@ class BI_DLL $modify(GameLevelManager) {
m_fields->skipSavedFilter = false;
}

void deleteLevel(GJGameLevel* level) {
Mod::get()->setSavedValue<bool>("user_search_dirty", true);

GameLevelManager::deleteLevel(level);
}

/**
* BetterErrors:tm:
*/
Expand Down

0 comments on commit 73766af

Please sign in to comment.