ModernUO/Projects
Kamron Batman 2d07b019af
docs: document why ControlOrder fires its handler on every assignment
Reviewed whether OnCurrentOrderChanged should be change-guarded: it must not
be. A reissued order is a command — "all attack" retargets through
ControlTarget with the same order value, "all follow" breaks off combat,
"all stay" re-anchors Home — and each depends on the handler running (and,
since #2594, on the AI being prodded awake). No code path writes the same
value on a hot path; all AI-internal writes are genuine transitions, so
same-value fires only occur at player-command rate. Handlers that need
change-detection already receive the previous order (ResolveStop uses it).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-25 09:06:27 -07:00
..
Application fix: Bumps dependencies. (#2531) 2026-07-14 15:17:55 -07:00
BuildTool feat: Bumps dependencies. Introduces Serialization Generator v3 (#2584) 2026-08-22 15:48:53 -07:00
Logger fix: Bumps dependencies. (#2531) 2026-07-14 15:17:55 -07:00
Server feat: convert all delta-time serialization to anchored time (#2589) 2026-08-22 19:34:43 -07:00
Server.Tests feat: convert all delta-time serialization to anchored time (#2589) 2026-08-22 19:34:43 -07:00
UOContent docs: document why ControlOrder fires its handler on every assignment 2026-08-25 09:06:27 -07:00
UOContent.Tests fix: keep the Guard order through combat and sprint guard returns 2026-08-25 07:06:09 -07:00