Add component order array

fix loop in inven comp
This commit is contained in:
Aaron Kimbre
2023-06-29 12:44:06 -05:00
parent 81404d9671
commit 6fb1786cf1
3 changed files with 85 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ InventoryComponent::InventoryComponent(Entity* parent, tinyxml2::XMLDocument* do
subItems.erase(std::remove_if(subItems.begin(), subItems.end(), ::isspace), subItems.end());
if (subItems.empty()) return;
if (subItems.empty()) continue;
const auto subItemsSplit = GeneralUtils::SplitString(subItems, ',');
for (const auto& proxyLotAsString : subItemsSplit) {