mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Load media from subfolders (#9065)
This commit is contained in:
parent
9c7340104a
commit
98faeac5a7
7 changed files with 34 additions and 21 deletions
|
@ -169,6 +169,4 @@ void TestServerModManager::testGetModMediaPaths()
|
|||
std::vector<std::string> result;
|
||||
sm.getModsMediaPaths(result);
|
||||
UASSERTEQ(bool, result.empty(), false);
|
||||
// We should have 5 folders for each mod (textures, media, locale, model, sounds)
|
||||
UASSERTEQ(unsigned long, result.size() % 5, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue