Skip to content

Commit f4e3ab8

Browse files
committed
Update APItem.hx
1 parent 3dddc56 commit f4e3ab8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/archipelago/APItem.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,13 @@ class APItem {
9797
this.condition = condition;
9898
this.onTrigger = onTrigger;
9999
this.isException = isException;
100+
this.toSync = toSync;
100101

101102
if (this.condition.type == Everywhere) {
102103
this.isException = true;
103104
}
104105

105-
if (APEntryState.gonnaRunSync && toSync) {
106+
if (APEntryState.gonnaRunSync && this.toSync) {
106107
allItems.push(this); trace('Item to sync: ${this.name}');
107108
} else if (!APEntryState.gonnaRunSync) {
108109
allItems.push(this); trace('Item: ${this.name}');

0 commit comments

Comments
 (0)