Skip to content

Commit afee12a

Browse files
committed
use max value for tick pre in break manager to get ahead of the request handler onOpen
1 parent 1f63a8b commit afee12a

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/kotlin/com/lambda/interaction/request/breaking

1 file changed

+1
-1
lines changed

common/src/main/kotlin/com/lambda/interaction/request/breaking/BreakManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ object BreakManager : RequestHandler<BreakRequest>(
131131
override fun load(): String {
132132
super.load()
133133

134-
listen<TickEvent.Pre>(priority = Int.MIN_VALUE) {
134+
listen<TickEvent.Pre>(priority = Int.MAX_VALUE) {
135135
// Cancelled but double breaking so requires break manager to continue the simulation
136136
breakInfos
137137
.asSequence()

0 commit comments

Comments
 (0)