mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 12:32:55 +00:00
Update MenuManager.cs
This commit is contained in:
parent
2d75917f9a
commit
6e8c052ca8
@ -1,5 +1,5 @@
|
|||||||
using Mirror;
|
using EpicTransport;
|
||||||
using Mirror.FizzySteam;
|
using Mirror;
|
||||||
using QSB.Messaging;
|
using QSB.Messaging;
|
||||||
using QSB.Player;
|
using QSB.Player;
|
||||||
using QSB.Player.TransformSync;
|
using QSB.Player.TransformSync;
|
||||||
@ -332,12 +332,12 @@ namespace QSB.Menus
|
|||||||
|
|
||||||
if (!QSBCore.DebugSettings.UseKcpTransport)
|
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" +
|
OpenInfoPopup($"Hosting server.\r\nClients will connect using your id, which is :\r\n" +
|
||||||
$"{steamId}\r\n" +
|
$"{id}\r\n" +
|
||||||
"Do you want to copy this to the clipboard?"
|
"Do you want to copy this to the clipboard?"
|
||||||
, "YES"
|
, "YES"
|
||||||
, "NO");
|
, "NO");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user