HasFullControl's comment names the menu entries it greys: Trade and Duel (#402)

One comment corrected: the stock unit menu greys Trade and Duel on `HasFullControl()` (`UnitPopup.lua:474-477`, `:502-505`), not follow and trade.

Comment only.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Sam Sung
2026-09-26 09:34:23 +07:00
committed by GitHub
co-authored by Claude Opus 5.5
parent bbfa601bda
commit bf2e1d551d
@@ -435,7 +435,8 @@ pub(in crate::script) fn install(lua: &Lua) -> mlua::Result<()> {
)?;
// HasFullControl(): the flag `SMSG_CLIENT_CONTROL_UPDATE` writes for the local player
// (`0xb4b3e4`, read at `0x51a158`), which the stock unit menu greys its follow and trade on.
// (`0xb4b3e4`, read at `0x51a158`), which the stock unit menu greys Trade and Duel on
// (`UnitPopup.lua:474-477`, `:502-505`).
g.set(
"HasFullControl",
lua.create_function(|lua, ()| {