Finished phase 1

This commit is contained in:
2026-05-29 18:57:20 +03:00
parent 01cad5d8da
commit 6e44e9d4e8
11 changed files with 152 additions and 59 deletions
@@ -71,7 +71,7 @@ void ANakedDesireGameMode::BeginPlay()
}
USaveSubsystem* SaveSubsystem = UGameplayStatics::GetGameInstance(GetWorld())->GetSubsystem<USaveSubsystem>();
for (const auto& Item : SaveSubsystem->GetCurrentSave()->WorldItems)
for (const auto& Item : SaveSubsystem->GetCurrentSave()->GetWorldItems())
{
UClothingItemInstance* NewItemInstance = NewObject<UClothingItemInstance>(this);
NewItemInstance->Init(Item.Definition.Get());