Finished phase 1
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user