mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-25 10:38:21 +01:00
Fix skipping identical stages in editor, fixes #88
This commit is contained in:
parent
9954258a19
commit
ed357e9a84
@ -1477,8 +1477,10 @@ public class QuestFactory implements ConversationAbandonedListener {
|
||||
}
|
||||
//
|
||||
// Stages
|
||||
int index = 1;
|
||||
for (Stage stage : q.orderedStages) {
|
||||
final String pref = "stage" + (q.orderedStages.indexOf(stage) + 1);
|
||||
final String pref = "stage" + index;
|
||||
index++;
|
||||
cc.setSessionData(pref, Boolean.TRUE);
|
||||
if (stage.blocksToBreak != null) {
|
||||
LinkedList<String> names = new LinkedList<String>();
|
||||
|
Loading…
Reference in New Issue
Block a user