diff --git a/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/ActorConditionEditor.java b/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/ActorConditionEditor.java index 2573847..19a4acf 100644 --- a/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/ActorConditionEditor.java +++ b/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/ActorConditionEditor.java @@ -166,7 +166,7 @@ public class ActorConditionEditor extends JSONElementEditor { } else if (source == positiveBox) { aCond.positive = (Integer) value; } else if (source == stackingBox) { - aCond.positive = (Integer) value; + aCond.stacking = (Integer) value; } else if (source == categoryBox) { aCond.category = (ActorCondition.ACCategory) value; } else if (source == roundVisualField) { diff --git a/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/QuestEditor.java b/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/QuestEditor.java index dc5f73c..b97d029 100644 --- a/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/QuestEditor.java +++ b/src/com/gpl/rpg/atcontentstudio/ui/gamedataeditors/QuestEditor.java @@ -64,7 +64,7 @@ public class QuestEditor extends JSONElementEditor { addTextField(pane, "Internal ID: ", quest.id, quest.writable, listener); addTextField(pane, "Quest Name: ", quest.name, quest.writable, listener); - addIntegerBasedCheckBox(pane, "Visible in quest log", quest.visible_in_log, quest.writable, listener); + visibleBox = addIntegerBasedCheckBox(pane, "Visible in quest log", quest.visible_in_log, quest.writable, listener); JPanel stagesPane = new JPanel(); stagesPane.setLayout(new JideBoxLayout(stagesPane, JideBoxLayout.PAGE_AXIS, 6));