mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-10 09:28:06 +00:00
Add component order array
fix loop in inven comp
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user