Fixing GetFullName
This commit is contained in:
@ -31,14 +31,13 @@ void UFTDFluxUtils::GetFullName(const int Bib, FText& OutFullName)
|
||||
{
|
||||
OutFullName = FText();
|
||||
UDTFluxCoreSubsystem* CoreSubsystem = GEngine->GetEngineSubsystem<UDTFluxCoreSubsystem>();
|
||||
FDTFluxParticipant Participant;
|
||||
CoreSubsystem->GetParticipant(Bib, Participant);
|
||||
if(CoreSubsystem != nullptr)
|
||||
{
|
||||
FDTFluxParticipant OutParticipant;
|
||||
if(CoreSubsystem->GetParticipant(Bib, OutParticipant))
|
||||
FDTFluxParticipant Participant;
|
||||
if(CoreSubsystem->GetParticipant(Bib, Participant))
|
||||
{
|
||||
FString FormattedName = "";
|
||||
if (OutParticipant.IsTeam())
|
||||
if (Participant.IsTeam())
|
||||
{
|
||||
OutFullName = FText::FromString(Participant.Team);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user