fix: demolish did not return blocks
This commit is contained in:
@@ -958,7 +958,7 @@ void GameWorldView::mousePressEvent(QMouseEvent* event)
|
||||
|| b->type == BuildingType::PlayerDefenceStation);
|
||||
if (!protected_)
|
||||
{
|
||||
m_sim->buildings().demolish(hovered);
|
||||
m_sim->demolish(hovered);
|
||||
m_demolishHoverId = kInvalidEntityId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user