Skip to content

Commit 6a391d6

Browse files
authored
Merge pull request #1237 from wowsims/fix/encounter-start
Make sure Encounter Start has the highest possible prio
2 parents 4341aba + 8565f41 commit 6a391d6

File tree

11 files changed

+6340
-6340
lines changed

11 files changed

+6340
-6340
lines changed

sim/core/sim.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ func (sim *Simulation) PrePull() {
469469

470470
sim.AddPendingAction(&PendingAction{
471471
NextActionAt: 0,
472-
Priority: ActionPriorityPrePull + ActionPriority(len(sim.prepullActions)+1),
472+
Priority: ActionPriorityHigh,
473473
OnAction: func(sim *Simulation) {
474474
for _, unit := range sim.Environment.AllUnits {
475475
if unit.enabled {

0 commit comments

Comments
 (0)