mirror of
https://github.com/mordentral/AdvancedSessionsPlugin.git
synced 2025-10-23 00:14:24 +00:00
fixed wrong steam api call
fixed wrong steam api call
This commit is contained in:
@@ -395,7 +395,7 @@ bool UAdvancedSteamFriendsLibrary::FilterText(FString TextToFilter, EBPTextFilte
|
|||||||
id = *((uint64*)TextSourceID.UniqueNetId->GetBytes());
|
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)
|
if (FilterCount > 0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user