diff --git a/src/hci/manufacture.cpp b/src/hci/manufacture.cpp index 250d648f3f1..f048bbd5779 100644 --- a/src/hci/manufacture.cpp +++ b/src/hci/manufacture.cpp @@ -271,9 +271,11 @@ class ManufactureObjectButton : public ObjectButton if (factory->psAssemblyPoint == nullptr) { factoryNumberLabel->setString(""); - return; } - factoryNumberLabel->setString(WzString::fromUtf8(astringf("%u", factory->psAssemblyPoint->factoryInc + 1))); + else + { + factoryNumberLabel->setString(WzString::fromUtf8(astringf("%u", factory->psAssemblyPoint->factoryInc + 1))); + } if (psStruct->productToGroup != UBYTE_MAX) { factoryAssignGroupLabel->setString(WzString::fromUtf8(astringf("%u", psStruct->productToGroup)));