fixed wrong steam api call

fixed wrong steam api call
This commit is contained in:
mordentral
2021-10-19 21:32:24 -04:00
parent be6f532c1e
commit f9e794cd4a

View File

@@ -395,7 +395,7 @@ bool UAdvancedSteamFriendsLibrary::FilterText(FString TextToFilter, EBPTextFilte
id = *((uint64*)TextSourceID.UniqueNetId->GetBytes());
}
int FilterCount = SteamUtils()->FilterText((ETextFilteringContext)Context, id, TCHAR_TO_ANSI(*TextToFilter), OutText, BufferLen);
int FilterCount = SteamUtils()->FilterText(OutText, BufferLen, TCHAR_TO_ANSI(*TextToFilter), Context == EBPTextFilteringContext::FContext_GameContent);
if (FilterCount > 0)
{