diff options
| author | Malkierian <malkierian@gmail.com> | 2025-04-12 06:14:13 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-12 09:14:13 -0400 |
| commit | 1416b2490a5984e3348fb44764418d470cb76661 (patch) | |
| tree | 6654613aa947291e682c9b94fcd3d1e2398b10de | |
| parent | f304de2eb162c1a1d501ab9ee1f69258d2610b00 (diff) | |
Change the Reset All callback back to `CosmeticsEditor_ResetAll`, because it's already set up to not reset HUD position stuff. (#5385)
| -rw-r--r-- | soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp b/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp index e0f530bc2..914f79a96 100644 --- a/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp +++ b/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp @@ -2413,8 +2413,7 @@ void CosmeticsEditorWindow::DrawElement() { } ImGui::SameLine(); if (UIWidgets::Button("Reset All", UIWidgets::ButtonOptions().Size(ImVec2(250.0f, 0.0f)).Color(THEME_COLOR))) { - CVarClearBlock("gCosmetics"); - ApplyOrResetCustomGfxPatches(); + CosmeticsEditor_ResetAll(); } if (UIWidgets::Button("Lock All", UIWidgets::ButtonOptions().Size(ImVec2(250.0f, 0.0f)).Color(THEME_COLOR))) { for (auto& [id, cosmeticOption] : cosmeticOptions) { |
