diff --git a/soh/soh/Enhancements/mod_menu.cpp b/soh/soh/Enhancements/mod_menu.cpp index e60eee7e9..7630cbb40 100644 --- a/soh/soh/Enhancements/mod_menu.cpp +++ b/soh/soh/Enhancements/mod_menu.cpp @@ -96,6 +96,8 @@ void ModsHandleDragAndDrop(std::vector& objectList, int targetIndex std::vector GetEnabledModsFromCVar() { std::string enabledModsCVarValue = CVAR_ENABLED_MODS_VALUE; + if (enabledModsCVarValue.empty()) + return {}; return StringHelper::Split(enabledModsCVarValue, SEPARATOR); }