mirror of
https://github.com/Haui1112/minetest.git
synced 2024-10-22 21:31:53 +02:00
Fix unintentional error message with dynamic media
This commit is contained in:
parent
39fd9b93c3
commit
93f4844c9c
|
@ -38,7 +38,7 @@ void FileCache::createDir()
|
|||
|
||||
bool FileCache::loadByPath(const std::string &path, std::ostream &os)
|
||||
{
|
||||
auto fis = open_ifstream(path.c_str(), true);
|
||||
auto fis = open_ifstream(path.c_str(), false);
|
||||
if (!fis.good())
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue