Skip to content

Commit 31ab5f5

Browse files
committed
e
1 parent a153dc4 commit 31ab5f5

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

source/archipelago/APItem.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,10 @@ class APItem {
129129
public static var allowedToTrigger(get, never):Bool;
130130
public var fromTrapLink:Bool = false; // Used for traps that are sent from TrapLink.
131131
public var isTrap:Bool = false;
132+
public static var waitingForTransition:Bool = false;
132133

133134
static function get_allowedToTrigger():Bool {
134-
return true;
135+
return !waitingForTransition;
135136
}
136137
public static var activeItem:APItem;
137138
public static var shields:Int = 0;

source/backend/MusicBeatState.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ class MusicBeatState extends yutautil.SafeManagedState
379379

380380
// Execute the reconnection callback
381381
archipelago.APGameState.reconnectionCallback();
382+
archipelago.APItem.waitingForTransition = false;
382383
}
383384
}
384385
}

source/substates/RankingSubstate.hx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ class RankingSubstate extends MusicBeatSubstate
162162
}
163163
}
164164

165+
archipelago.APItem.waitingForTransition = true;
166+
165167
hint.screenCenter(X);
166168

167169
hint.alpha = press.alpha = 0;

0 commit comments

Comments
 (0)