fix 18.40 cone &e diting :)

This commit is contained in:
Gray
2025-07-15 12:40:41 -04:00
parent 4f17a0e37c
commit f6be54705d
3 changed files with 12 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ public:
for (int i = 0; i < StartingItems.Num(); ++i)
{
auto& StartingItem = StartingItems.at(i);
auto& StartingItem = StartingItems.at(i, FItemAndCount::GetStructSize());
(*Inventory)->AddItem(StartingItem.GetItem(), nullptr, StartingItem.GetCount());
}