Commit c7369cb
fix(quest): defer quest path calc until loading screen clears
Server quest messages (kServerActiveQuestChanged, kQuestAdded,
kClientActiveQuestChanged, kQuestDetailsChanged) arrive while the
zone-in loading screen is still up. OnPostUIMessage refreshed the path
immediately, kicking the route calc off against transitional map/pathing
data and leaving the route stuck until a Toolbox restart.
Instead of sprinkling loading-screen guards across each call site, the
message handlers and OnMapLoaded now just raise refresh_all_quest_paths_queued.
QuestModule::Update consumes it in one place, already behind the existing
loading-screen and pathing guards, so the calc only ever kicks off once
the map is fully loaded.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent b589449 commit c7369cb
1 file changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
560 | 563 | | |
561 | 564 | | |
562 | 565 | | |
563 | | - | |
| 566 | + | |
564 | 567 | | |
565 | 568 | | |
566 | | - | |
| 569 | + | |
567 | 570 | | |
568 | 571 | | |
569 | 572 | | |
| |||
583 | 586 | | |
584 | 587 | | |
585 | 588 | | |
586 | | - | |
| 589 | + | |
587 | 590 | | |
588 | 591 | | |
589 | | - | |
590 | | - | |
591 | 592 | | |
592 | 593 | | |
593 | 594 | | |
| |||
929 | 930 | | |
930 | 931 | | |
931 | 932 | | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
932 | 940 | | |
933 | 941 | | |
934 | 942 | | |
| |||
0 commit comments