ShipLayoutPreview was the one widget the findFooDef sweep missed: it held a bare const std::vector<ModuleDef>* rather than a config, so the shared ModulesConfig::findModuleDef was not a drop-in and the file-local copy survived. Hold the ModulesConfig instead and call the shared finder. The sole caller already had the ModulesConfig one dereference away. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHcUerKAZKWNvSKJxYKbnG
1.0 KiB
1.0 KiB