fix issue where splitters were draggable during placement like belts

This commit is contained in:
2026-07-14 20:35:47 +02:00
parent cd75492796
commit 876b344b20

View File

@@ -1842,7 +1842,7 @@ void GameWorldView::mousePressEvent(QMouseEvent* event)
if (m_builderType.has_value()) if (m_builderType.has_value())
{ {
const BuildingType type = *m_builderType; const BuildingType type = *m_builderType;
if (type == BuildingType::Belt || type == BuildingType::Splitter) if (type == BuildingType::Belt)
{ {
m_dragging = true; m_dragging = true;
m_beltDragTiles.clear(); m_beltDragTiles.clear();