diff options
Diffstat (limited to 'src/servermain.cpp')
-rw-r--r-- | src/servermain.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/servermain.cpp b/src/servermain.cpp index 6eb45ea22..91b31fb58 100644 --- a/src/servermain.cpp +++ b/src/servermain.cpp @@ -139,6 +139,9 @@ int main(int argc, char *argv[]) // Initialize porting::path_data and porting::path_userdata porting::initializePaths(); + // Create user data directory + fs::CreateDir(porting::path_userdata); + // Initialize debug streams #ifdef RUN_IN_PLACE std::string debugfile = DEBUGFILE; |