Skip to content

Commit 38a35a7

Browse files
fix: reversed if statement (#3704)
1 parent 97ed50e commit 38a35a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Source/Immutable/Private/Immutable/ImmutablePassport.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ void UImmutablePassport::Initialize(const FImtblPassportResponseDelegate& Respon
5151
{
5252
check(JSConnector.IsValid());
5353

54-
auto Settings = GetDefault<UImmutableSettings>();
54+
const UImmutableSettings* Settings = GetDefault<UImmutableSettings>();
5555

56-
if (Settings)
56+
if (!Settings)
5757
{
5858
ResponseDelegate.ExecuteIfBound(FImmutablePassportResult{false, "Failed to find Immutable Settings"});
59-
59+
6060
return;
6161
}
62-
62+
6363
UApplicationConfig* ApplicationConfig = Settings->DefaultApplicationConfig.GetDefaultObject();
6464

6565
if (!ApplicationConfig)

0 commit comments

Comments
 (0)