From 57ea9378a6ab77f1515f2ce31e2b3ec861f9baef Mon Sep 17 00:00:00 2001 From: klei1984 <53688147+klei1984@users.noreply.github.com> Date: Thu, 2 Nov 2023 23:27:53 +0100 Subject: [PATCH] Corrected a reimplementation issue. --- src/taskcreatebuilding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &&