@@ -346,13 +346,13 @@ CommandCost CmdBuildObject(TileIndex til
default: // i.e. NewGRF provided.
break;
}
if (flags & DC_EXEC) {
BuildObject(type, tile, _current_company, nullptr, view);
BuildObject(type, tile, _current_company == OWNER_DEITY ? OWNER_NONE : _current_company, nullptr, view);
/* Make sure the HQ starts at the right size. */
if (type == OBJECT_HQ) UpdateCompanyHQ(tile, hq_score);
cost.AddCost(ObjectSpec::Get(type)->GetBuildCost() * size_x * size_y);