mirror of
https://github.com/mordentral/AdvancedSessionsPlugin.git
synced 2025-10-23 16:34:07 +00:00
4.17 changes
Former-commit-id: 401105bdd16dfc01e118f7d96daf63cf8360503a
This commit is contained in:
@@ -423,7 +423,7 @@ void UAdvancedSessionsLibrary::GetNumberOfNetworkPlayers(UObject* WorldContextOb
|
||||
//~~~~~~~~~~~~
|
||||
|
||||
//Get World
|
||||
UWorld* TheWorld = GEngine->GetWorldFromContextObject(WorldContextObject);
|
||||
UWorld* TheWorld = GEngine->GetWorldFromContextObject(WorldContextObject, EGetWorldErrorMode::LogAndReturnNull);
|
||||
|
||||
if (!TheWorld)
|
||||
{
|
||||
|
Reference in New Issue
Block a user