projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab08248
)
fixed not creating user level set
author
Holger Schemel
<info@artsoft.org>
Sat, 11 Jun 2022 12:16:44 +0000
(14:16 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sat, 11 Jun 2022 12:16:44 +0000
(14:16 +0200)
src/libgame/setup.c
patch
|
blob
|
history
diff --git
a/src/libgame/setup.c
b/src/libgame/setup.c
index 1c3a5dc73ea3429abc4b7f16e84bf2fefe5a36ac..acee4a9fd2634ddb52320b2a9df1722a28052685 100644
(file)
--- a/
src/libgame/setup.c
+++ b/
src/libgame/setup.c
@@
-1371,10
+1371,13
@@
void InitUserLevelDirectory(char *level_subdir)
{
createDirectory(getMainUserGameDataDir(), "main user data");
createDirectory(getUserLevelDir(NULL), "main user level");
- createDirectory(getUserLevelDir(level_subdir), "user level");
if (setup.internal.create_user_levelset)
+ {
+ createDirectory(getUserLevelDir(level_subdir), "user level");
+
SaveUserLevelInfo();
+ }
}
}