diff --git a/NetDebugStats.uplugin b/NetDebugStats.uplugin index 903695a..441da0d 100644 --- a/NetDebugStats.uplugin +++ b/NetDebugStats.uplugin @@ -22,7 +22,6 @@ "WhitelistPlatforms": [ "Win64", "Mac", - "PS4", "IOS", "Android", "Linux", diff --git a/Source/NetDebugStats/Private/NetDebugStatsFunctions.cpp b/Source/NetDebugStats/Private/NetDebugStatsFunctions.cpp index 005a897..2b688c5 100644 --- a/Source/NetDebugStats/Private/NetDebugStatsFunctions.cpp +++ b/Source/NetDebugStats/Private/NetDebugStatsFunctions.cpp @@ -26,7 +26,7 @@ ENetDebugStatConnectionState UNetDebugStatsFunctions::GetConnectionState(const U if (GET_CONNECTION) { - EConnectionState ConnectionState = PlayerNetConnection->State; + EConnectionState ConnectionState = PlayerNetConnection->GetConnectionState(); switch (ConnectionState) { case USOCK_Closed: