diff options
Diffstat (limited to 'mm/2s2h/PresetManager/PresetManager.cpp')
| -rw-r--r-- | mm/2s2h/PresetManager/PresetManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/2s2h/PresetManager/PresetManager.cpp b/mm/2s2h/PresetManager/PresetManager.cpp index 0571655fe..12b74d8e3 100644 --- a/mm/2s2h/PresetManager/PresetManager.cpp +++ b/mm/2s2h/PresetManager/PresetManager.cpp @@ -675,7 +675,7 @@ void PresetManager_ApplyPreset(nlohmann::json j) { } } - Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); + Ship::Context::GetRawInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); ShipInit::Init("*"); Notification::Emit({ .message = "Preset Loaded" }); } @@ -848,7 +848,7 @@ void PresetManager_Draw() { } void PresetManager_RegisterHooks() { - Ship::Context::GetInstance()->GetFileDropMgr()->RegisterDropHandler(PresetManager_HandleFileDropped); + Ship::Context::GetRawInstance()->GetFileDropMgr()->RegisterDropHandler(PresetManager_HandleFileDropped); PresetManager_RefreshPresets(); } |
