From 6e8c052ca8c37d82eb38d9cde67b0538f0fb7a64 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Sat, 5 Feb 2022 18:52:31 -0800 Subject: [PATCH] Update MenuManager.cs --- QSB/Menus/MenuManager.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/QSB/Menus/MenuManager.cs b/QSB/Menus/MenuManager.cs index 6b71f0fc..8e7bef48 100644 --- a/QSB/Menus/MenuManager.cs +++ b/QSB/Menus/MenuManager.cs @@ -1,5 +1,5 @@ -using Mirror; -using Mirror.FizzySteam; +using EpicTransport; +using Mirror; using QSB.Messaging; using QSB.Player; using QSB.Player.TransformSync; @@ -332,12 +332,12 @@ namespace QSB.Menus if (!QSBCore.DebugSettings.UseKcpTransport) { - var steamId = ((FizzyFacepunch)Transport.activeTransport).SteamUserID.ToString(); + var id = EOSSDKComponent.LocalUserProductIdString; - PopupOK += () => GUIUtility.systemCopyBuffer = steamId; + PopupOK += () => GUIUtility.systemCopyBuffer = id; - OpenInfoPopup($"Hosting server.\r\nClients will connect using your steam id, which is :\r\n" + - $"{steamId}\r\n" + + OpenInfoPopup($"Hosting server.\r\nClients will connect using your id, which is :\r\n" + + $"{id}\r\n" + "Do you want to copy this to the clipboard?" , "YES" , "NO");