This commit is contained in:
JohnCorby 2023-06-10 11:45:44 -07:00
parent 20813409c0
commit 7c38412de2

View File

@ -635,20 +635,20 @@ internal class MenuManager : MonoBehaviour, IAddComponentOnStart
if (!QSBCore.UseKcpTransport) if (!QSBCore.UseKcpTransport)
{ {
var steamUserId = SteamUser.GetSteamID().ToString(); var steamId = SteamUser.GetSteamID().ToString();
PopupClose += confirm => PopupClose += confirm =>
{ {
if (confirm) if (confirm)
{ {
GUIUtility.systemCopyBuffer = steamUserId; GUIUtility.systemCopyBuffer = steamId;
} }
LoadGame(PlayerData.GetWarpedToTheEye()); LoadGame(PlayerData.GetWarpedToTheEye());
Delay.RunWhen(() => TimeLoop._initialized, QSBNetworkManager.singleton.StartHost); Delay.RunWhen(() => TimeLoop._initialized, QSBNetworkManager.singleton.StartHost);
}; };
OpenInfoPopup(string.Format(QSBLocalization.Current.CopySteamIDToClipboard, steamUserId) OpenInfoPopup(string.Format(QSBLocalization.Current.CopySteamIDToClipboard, steamId)
, QSBLocalization.Current.Yes , QSBLocalization.Current.Yes
, QSBLocalization.Current.No); , QSBLocalization.Current.No);
} }