mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Load media from subfolders (#9065)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user