Skip to content

Commit

Permalink
Corrected a reimplementation issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
klei1984 committed Nov 2, 2023
1 parent c86abc1 commit 57ea937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/taskcreatebuilding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ void TaskCreateBuilding::AddUnit(UnitInfo& unit) {
}

if (manager.Get() != parent.Get()) {
ChildComplete(this);
parent->ChildComplete(this);
}

if (builder && builder->GetTask() == this && parent && unit_type == WTRPLTFM &&
Expand Down

0 comments on commit 57ea937

Please sign in to comment.