fixed bug with new user level sets (first level should always be '1')
authorHolger Schemel <info@artsoft.org>
Tue, 17 Oct 2017 19:34:42 +0000 (21:34 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:14 +0000 (23:21 +0100)
src/editor.c

index 8da3feb9c03aa11ddf7e3055e2f686b64406bf00..9677a17cfc1e018891b785b05945d7cb31ca1988 100644 (file)
@@ -12656,7 +12656,7 @@ static void HandleTextbuttonGadgets(struct GadgetInfo *gi)
                             levelset_name,
                             levelset_author,
                             levelset_num_levels,
-                            levelset_first_level_nr))
+                            1))
       {
        Request("New level set created!", REQ_CONFIRM);