Commit 279a822
committed
fix(flow): Pass correct
Addresses a regression introduced in #1019, which passed a stale version of `ctx` when calling `onMove` hooks. This was particularly noticeable if the move triggered the end of a player’s stage, which the `onMove` hook would then not see.ctx to onMove hooks1 parent e3b2cb1 commit 279a822
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
701 | | - | |
702 | | - | |
703 | | - | |
| 701 | + | |
| 702 | + | |
704 | 703 | | |
705 | 704 | | |
706 | 705 | | |
707 | | - | |
| 706 | + | |
708 | 707 | | |
709 | 708 | | |
710 | 709 | | |
| |||
713 | 712 | | |
714 | 713 | | |
715 | 714 | | |
716 | | - | |
| 715 | + | |
717 | 716 | | |
718 | 717 | | |
719 | 718 | | |
| |||
726 | 725 | | |
727 | 726 | | |
728 | 727 | | |
729 | | - | |
| 728 | + | |
730 | 729 | | |
731 | 730 | | |
732 | | - | |
| 731 | + | |
733 | 732 | | |
734 | 733 | | |
735 | 734 | | |
| |||
0 commit comments