Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void DiscoverMods()
// Find unpacked mods
for (const std::string &modFolder : ListDirectories(modsPath.c_str())) {
// Only consider this folder if the init.lua file exists.
std::string modScriptPath = modsPath + DIRECTORY_SEPARATOR_STR + modFolder + DIRECTORY_SEPARATOR_STR + "init.lua";
const std::string modScriptPath = modsPath + DIRECTORY_SEPARATOR_STR + modFolder + DIRECTORY_SEPARATOR_STR + "lua" + DIRECTORY_SEPARATOR_STR + "mods" + DIRECTORY_SEPARATOR_STR + modFolder + DIRECTORY_SEPARATOR_STR + "init.lua";
if (!FileExists(modScriptPath.c_str()))
continue;

Expand Down
Loading