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)
{
var steamUserId = SteamUser.GetSteamID().ToString();
var steamId = SteamUser.GetSteamID().ToString();
PopupClose += confirm =>
{
if (confirm)
{
GUIUtility.systemCopyBuffer = steamUserId;
GUIUtility.systemCopyBuffer = steamId;
}
LoadGame(PlayerData.GetWarpedToTheEye());
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.No);
}