mirror of
https://github.com/mordentral/AdvancedSessionsPlugin.git
synced 2025-10-25 01:14:20 +00:00
Fixed duplicating lobby results (forgot to use second array second time around).
Changed HasOnlineSubsystem to use a better function Not running second search for AllServers enum when the subsystem isn't steam Steam is the only subsystem that actually uses the flags that deal with that. Former-commit-id: b07eadc87eaf82584ec63b6b4e91ace69fd5023f
This commit is contained in:
@@ -296,7 +296,7 @@ void UAdvancedSessionsLibrary::GetSessionPropertyFloat(const TArray<FSessionProp
|
||||
|
||||
bool UAdvancedSessionsLibrary::HasOnlineSubsystem(FName SubSystemName)
|
||||
{
|
||||
return((IOnlineSubsystem::Get(SubSystemName) != NULL));
|
||||
return IOnlineSubsystem::DoesInstanceExist(SubSystemName);
|
||||
}
|
||||
|
||||
void UAdvancedSessionsLibrary::GetNetPlayerIndex(APlayerController *PlayerController, int32 &NetPlayerIndex)
|
||||
|
||||
Reference in New Issue
Block a user