fix issue where splitters were draggable during placement like belts
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user