| 1238 | const RString& cli = AppConfig::Instance().GetModsDir(); |
| 1239 | if (cli.GetLength() > 0) |
| 1240 | return (const char*)cli; |
| 1241 | return Foundation::GamePaths::Instance().ModsDir(); |
| 1242 | } |
| 1243 | |
| 1244 | static std::string WorkshopModsRoot() |
| 1245 | { |
| 1246 | const RString& cli = AppConfig::Instance().GetWorkshopDir(); |
| 1247 | if (cli.GetLength() > 0) |
| 1248 | return (const char*)cli; |
| 1249 | return Foundation::GamePaths::Instance().WorkshopDir(); |
no test coverage detected