Commit 7173b99
committed
Fix #4: Centralize missile command IDs to prevent duplication
Define missileCmdIDs table and isMissileCommand() helper at top of
integral_menu_config.lua. Replace hardcoded ID lists in both Missiles
panel inclusionFunction and Orders panel exclusion with helper calls.
Fixes maintenance issue where IDs could get out of sync between panels.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GiaPfKSj8kGFjaUPyxYYHd1 parent da09486 commit 7173b99
1 file changed
Lines changed: 19 additions & 4 deletions
File tree
- LuaUI/Configs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
3 | 20 | | |
4 | 21 | | |
5 | 22 | | |
| |||
516 | 533 | | |
517 | 534 | | |
518 | 535 | | |
519 | | - | |
520 | | - | |
| 536 | + | |
521 | 537 | | |
522 | 538 | | |
523 | 539 | | |
| |||
534 | 550 | | |
535 | 551 | | |
536 | 552 | | |
537 | | - | |
538 | | - | |
| 553 | + | |
539 | 554 | | |
540 | 555 | | |
541 | 556 | | |
| |||
0 commit comments