mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-24 19:54:38 +00:00
TU24
This commit is contained in:
@@ -135,9 +135,9 @@ static bool EnsureDirectoryExists(const std::wstring &directoryPath, bool *outCr
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepares the save root used by the Windows64 storage layout
|
||||
* Prepares the save root used by the Data storage layout
|
||||
* - Creates `Data` first because `CreateDirectoryW` is not recursive
|
||||
* - Creates `Data\Saves` when missing before world bootstrap starts
|
||||
* - Creates `Data/Saves` when missing before world bootstrap starts
|
||||
* Windows64用保存先ディレクトリの存在保証
|
||||
*/
|
||||
static bool EnsureSavesRootExists()
|
||||
@@ -156,7 +156,7 @@ static bool EnsureSavesRootExists()
|
||||
|
||||
if (windows64Created || savesCreated)
|
||||
{
|
||||
LogWorldIO("created missing Windows64\\Saves storage directories");
|
||||
LogWorldIO("created missing Data/Saves storage directories");
|
||||
}
|
||||
|
||||
return true;
|
||||
@@ -552,7 +552,7 @@ WorldBootstrapResult BootstrapWorldForServer(
|
||||
WorldBootstrapResult result;
|
||||
if (!EnsureSavesRootExists())
|
||||
{
|
||||
LogWorldIO("failed to prepare Windows64\\Saves storage root");
|
||||
LogWorldIO("failed to prepare Windows64/Data/Saves storage root");
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user