Skip to content

Commit 865f21a

Browse files
committed
Packaging fixes
1 parent 4a471d9 commit 865f21a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Source/SaveExtension/Private/SavePreset.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void USavePreset::GetSlotNameFromId(int32 Id, FName& Name) const
2323
{
2424
if (IsValidId(Id))
2525
{
26-
Name = { FString::FromInt(Id) };
26+
Name = FName{ FString::FromInt(Id) };
2727
}
2828
}
2929

Source/SaveExtension/Public/SaveManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ class SAVEEXTENSION_API USaveManager : public UGameInstanceSubsystem, public FTi
350350
USlotInfo* LoadInfo(FName SlotName);
351351
USlotInfo* LoadInfo(uint32 SlotId)
352352
{
353-
return IsValidSlot(SlotId)? LoadInfo(GetSlotNameFromId(SlotId)) : false;
353+
return IsValidSlot(SlotId)? LoadInfo(GetSlotNameFromId(SlotId)) : nullptr;
354354
}
355355

356356
protected:

0 commit comments

Comments
 (0)