]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script/lua_api/l_mainmenu.cpp
CheatDB Support & Enable/Disable CSMs in Main Menu
[dragonfireclient.git] / src / script / lua_api / l_mainmenu.cpp
index 0aa2760e9ff0105cb9ddf1aed4ede54fb1e50f31..2cf4a979b567f5eb1e49fd8a6e51829b2f621f43 100644 (file)
@@ -902,6 +902,9 @@ bool ModApiMainMenu::mayModifyPath(const std::string &path)
        if (fs::PathStartsWith(path, fs::RemoveRelativePathComponents(porting::path_user + DIR_DELIM "mods")))
                return true;
 
+       if (fs::PathStartsWith(path, fs::RemoveRelativePathComponents(porting::path_user + DIR_DELIM "clientmods")))
+               return true;
+
        if (fs::PathStartsWith(path, fs::RemoveRelativePathComponents(porting::path_user + DIR_DELIM "textures")))
                return true;