Skip to content

Commit

Permalink
Prevent passing by drm if core init failed
Browse files Browse the repository at this point in the history
  • Loading branch information
dyanikoglu committed Jan 9, 2021
1 parent ae5996c commit 8b412df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/DiscordGameSDK/Private/DiscordHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ void UDiscordHelper::ValidateOrExit(std::function<void(discord::Result)> Callbac
{
Core->ApplicationManager().ValidateOrExit(Callback);
}
else
{
Callback(discord::Result::InternalError);
}
}

bool UDiscordHelper::RegisterSteam(uint32 SteamAppID)
Expand Down

0 comments on commit 8b412df

Please sign in to comment.