mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fixes
This commit is contained in:
parent
2a8fa4f2fa
commit
536035441a
5 changed files with 26 additions and 3 deletions
|
|
@ -173,7 +173,7 @@ std::string EnginePaths::createMemoryDevice() {
|
|||
auto device = std::make_unique<io::MemoryDevice>();
|
||||
std::string name;
|
||||
do {
|
||||
name = std::string("M.") + generate_random_base64<6>();
|
||||
name = std::string("W.") + generate_random_base64<6>();
|
||||
} while (std::find(mounted.begin(), mounted.end(), name) != mounted.end());
|
||||
|
||||
io::set_device(name, std::move(device));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue