mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Add support for "textures/all" (and thus texture packs) to server
This commit is contained in:
parent
80f35467d8
commit
08e1d40d6e
1 changed files with 2 additions and 0 deletions
|
@ -3965,6 +3965,8 @@ void Server::fillMediaCache()
|
||||||
paths.push_back(mod.path + DIR_DELIM + "sounds");
|
paths.push_back(mod.path + DIR_DELIM + "sounds");
|
||||||
paths.push_back(mod.path + DIR_DELIM + "media");
|
paths.push_back(mod.path + DIR_DELIM + "media");
|
||||||
}
|
}
|
||||||
|
std::string path_all = "textures";
|
||||||
|
paths.push_back(path_all + DIR_DELIM + "all");
|
||||||
|
|
||||||
// Collect media file information from paths into cache
|
// Collect media file information from paths into cache
|
||||||
for(std::list<std::string>::iterator i = paths.begin();
|
for(std::list<std::string>::iterator i = paths.begin();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue