uu

level auto increment closing level selection

Bug #1602664 reported by jumpy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uu
New
Undecided
Unassigned

Bug Description

If you win a level and you start entering and closing the "settings" menu the level will increment +1 for each cycle (allowing player to skip levels as shown in screenshot).
I suppose the bug is in Main.qml file at 83 - 93 lines:
Transition {
    from: "*" // "* ---> won" could solve the problem
    to: "stopped"
    SequentialAnimation {
        ScriptAction { script: {
                if (root.itemsLeft == 0) {
                    root.level++;
                    root.maxLevel = Math.max(root.maxLevel, root.level);
                    //adding "root.itemsLeft--;" is another possible solution
                }
            }
        }
    [...]
}

Revision history for this message
jumpy (mauro-giampieri) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.