summaryrefslogtreecommitdiff
path: root/mm/2s2h/Enhancements/DifficultyOptions/DeleteFileOnDeath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mm/2s2h/Enhancements/DifficultyOptions/DeleteFileOnDeath.cpp')
-rw-r--r--mm/2s2h/Enhancements/DifficultyOptions/DeleteFileOnDeath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/2s2h/Enhancements/DifficultyOptions/DeleteFileOnDeath.cpp b/mm/2s2h/Enhancements/DifficultyOptions/DeleteFileOnDeath.cpp
index a841961c5..a8ab34717 100644
--- a/mm/2s2h/Enhancements/DifficultyOptions/DeleteFileOnDeath.cpp
+++ b/mm/2s2h/Enhancements/DifficultyOptions/DeleteFileOnDeath.cpp
@@ -40,7 +40,7 @@ void RegisterDeleteFileOnDeath() {
if (resetTimer >= 20) { // Completely black
std::reinterpret_pointer_cast<Ship::ConsoleWindow>(
- Ship::Context::GetInstance()->GetWindow()->GetGui()->GetGuiWindow("Console"))
+ Ship::Context::GetRawInstance()->GetWindow()->GetGui()->GetGuiWindow("Console"))
->Dispatch("reset");
}
}