remove duplicate findModuleDef from ShipLayoutPreview

This commit is contained in:
2026-08-03 22:00:25 +02:00
parent 785ce3ebfe
commit edd1c31785
3 changed files with 6 additions and 19 deletions

View File

@@ -604,7 +604,7 @@ void SelectedBuildingPanel::updateShipyardLayoutWidgets(
layout = *shipLayout;
}
m_layoutPreview->setShipAndLayout(
shipDef->layout, layout, &m_config->modules.modules);
shipDef->layout, layout, &m_config->modules);
}
else
{