Commit 99d95e5
committed
Fix corner case for wandering boat carrier
When we are already at the goal `WanderOnWater` changes the state to
reflect it. So we must ensure to change the state only before, not after
the call to this function.1 parent 4cee71b commit 99d95e5
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
646 | | - | |
| 645 | + | |
647 | 646 | | |
| 647 | + | |
| 648 | + | |
648 | 649 | | |
649 | 650 | | |
650 | 651 | | |
| |||
0 commit comments