diff --git a/src/taskcreatebuilding.cpp b/src/taskcreatebuilding.cpp index e1068c2f..e97a0bd8 100644 --- a/src/taskcreatebuilding.cpp +++ b/src/taskcreatebuilding.cpp @@ -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 &&