File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments