From: Holger Schemel Date: Sat, 11 Jun 2022 12:16:44 +0000 (+0200) Subject: fixed not creating user level set X-Git-Tag: 4.3.2.2~8 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=03cdc074bb51b3157f45bba85c9376aaf63deaf5;p=rocksndiamonds.git fixed not creating user level set --- diff --git a/src/libgame/setup.c b/src/libgame/setup.c index 1c3a5dc7..acee4a9f 100644 --- 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(); + } } }