Brues
60f953178f
nameplates: validate unitstr before filling the per-unit cache
...
cache.player and cache.minion were filled from unitstr before the two guards
that validate it, so a stale identifier poisoned the cache -- and because the
fill is gated on `== nil`, the wrong answer was never recomputed. Players read
back as cache.player == false until the plate was hidden and shown again, which
only appeared to fix it because pool reuse tripped the name/guid wipe.
Two paths produce a stale unitstr: OnUpdate dispatches a targetUpdate to
OnDataChanged before it refreshes plate.istarget, and frameState.mouseoverGuid
is only updated on gaining mouseover, never on losing it.
Hoist the PLAYER_TARGET_CHANGED distrust and the UnitName mismatch check above
the cache fill so an unverified unitstr leaves the cache nil for the next tick
instead of locking in a wrong answer.
2026-09-02 10:56:46 -05:00
..
2026-08-06 23:08:32 -05:00
2026-08-04 14:27:15 -05:00
2026-07-01 10:20:34 -05:00
2026-07-30 02:27:03 -05:00
2026-07-30 02:27:03 -05:00
2026-08-08 19:59:36 -05:00
2026-07-30 02:27:03 -05:00
2026-08-10 01:13:32 -05:00
2026-08-09 03:15:01 -05:00
2026-07-23 23:08:05 -05:00
2026-08-24 11:07:38 -05:00
2026-08-24 11:07:38 -05:00
2026-08-24 11:07:37 -05:00
2026-09-02 01:05:47 -05:00
2026-07-30 14:29:30 -05:00
2026-07-30 01:26:29 -05:00
2026-08-10 01:00:47 -05:00
2017-07-19 10:35:01 +02:00
2026-07-30 14:29:30 -05:00
2026-07-30 01:26:29 -05:00
2026-07-11 12:43:15 -05:00
2026-08-06 20:28:32 -05:00
2026-08-09 03:15:01 -05:00
2026-07-26 18:32:36 -05:00
2026-08-24 11:07:37 -05:00
2026-07-26 18:32:36 -05:00
2026-08-09 22:47:28 -05:00
2026-07-09 23:01:52 -05:00
2026-07-09 23:01:52 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-08-11 00:38:28 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-08-07 17:39:10 -05:00
2026-05-25 18:50:53 -05:00
2026-08-07 18:29:37 -05:00
2026-05-25 18:50:53 -05:00
2026-08-08 19:24:42 -05:00
2026-08-10 15:05:48 -05:00
2026-08-12 14:33:05 -05:00
2026-08-10 09:53:34 -05:00
2026-08-10 01:13:32 -05:00
2026-08-24 11:07:37 -05:00
2026-07-30 01:26:29 -05:00
2026-08-10 01:13:32 -05:00
2026-08-04 14:27:15 -05:00
2026-08-24 11:07:37 -05:00
2026-05-25 18:50:53 -05:00
2026-07-13 00:06:20 -05:00
2026-09-02 10:56:46 -05:00
2026-07-26 18:32:36 -05:00
2026-07-29 14:39:25 -05:00
2026-08-24 11:07:37 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-08-05 00:28:55 -05:00
2026-07-19 02:25:23 -05:00
2026-08-13 18:03:56 -05:00
2026-08-10 01:13:32 -05:00
2026-08-24 11:07:37 -05:00
2026-07-10 13:23:52 -05:00
2026-07-13 00:06:20 -05:00
2026-07-09 23:01:52 -05:00
2026-08-24 11:07:37 -05:00
2026-08-10 01:13:32 -05:00
2026-08-24 11:07:37 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-05-25 18:50:53 -05:00
2026-08-04 22:27:43 -05:00
2026-08-10 23:52:52 -05:00
2026-08-24 11:07:37 -05:00
2026-07-24 16:08:36 -05:00
2026-08-30 17:19:17 -05:00
2026-08-05 22:33:37 -05:00
2026-05-25 18:50:53 -05:00
2026-08-24 11:07:37 -05:00
2026-07-23 23:08:05 -05:00
2026-07-12 13:48:36 -05:00
2026-06-22 13:51:00 -05:00
2026-07-26 18:32:36 -05:00
2026-08-24 11:07:37 -05:00