mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Added missing directory /textures/ check in wad importer
This commit is contained in:
@@ -355,6 +355,11 @@ namespace Nuake
|
||||
WadName = pathSplits[std::size(pathSplits) - 1];
|
||||
TargetDirectory = "/textures/" + WadName + "/";
|
||||
|
||||
if (!FileSystem::DirectoryExists("/textures/"))
|
||||
{
|
||||
FileSystem::MakeDirectory("/textures/");
|
||||
}
|
||||
|
||||
if (!FileSystem::DirectoryExists(TargetDirectory))
|
||||
{
|
||||
FileSystem::MakeDirectory(TargetDirectory);
|
||||
|
||||
Reference in New Issue
Block a user