diff --git a/soh/soh/Enhancements/mod_menu.cpp b/soh/soh/Enhancements/mod_menu.cpp index 23f525e85..37881202e 100644 --- a/soh/soh/Enhancements/mod_menu.cpp +++ b/soh/soh/Enhancements/mod_menu.cpp @@ -213,7 +213,7 @@ void DrawMods(bool enabled) { int switchToIndex = -1; uint32_t index = 0; - for (size_t i = selectedModFiles.size() - 1; i >= 0; i--) { + for (size_t i = selectedModFiles.size() - 1; i != SIZE_MAX; i--) { std::string file = selectedModFiles[i]; if (enabled) { ImGui::BeginGroup();