Skip to content

Command Insert: fix the Ctrl+Space resurrect modifiers - #5982

Merged
GoogleFrog merged 1 commit into
ZeroK-RTS:masterfrom
moss-orbit-9f339e:split/5891-resurrect-modifier
Nov 28, 2026
Merged

GoogleFrog merged 1 commit into
ZeroK-RTS:masterfrom
moss-orbit-9f339e:split/5891-resurrect-modifier

Conversation

@moss-orbit-9f339e

@moss-orbit-9f339e moss-orbit-9f339e commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Use CMD.OPT_META instead of the nonexistent CMD.OPT.META for Ctrl+Space resurrect insertion. The old expression errors before sending the order.

Testing: a source/API probe in a live engine loaded the archive function and supplied stub inputs. Master/PR/master sent 0/1/0 INSERT orders. The PR inserted at position 0 with ALT outside, Ctrl/Meta removed inside, and all four area parameters preserved. Ctrl-only, Meta-only and unmodified controls agreed. This did not test physical key input or actual resurrection.

AI disclosure: found by OpenAI Codex in a code audit; the live test was written by Codex; checked, edited and tested with Claude Code.

🤖 Generated with Claude Code

Ctrl+Space resurrect reads CMD.OPT.META, but that table does not exist.
Use CMD.OPT_META when removing the modifier bits.

File: LuaUI/Widgets/cmd_commandinsert.lua

Testing: game tests pending.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@GoogleFrog
GoogleFrog merged commit 2296997 into ZeroK-RTS:master Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants