Update CommandInterpreter.cs

This commit is contained in:
_nebula 2023-09-17 22:03:20 +01:00
parent ac8e7d6ee9
commit f516df7073

View File

@ -1,8 +1,8 @@
using EpicTransport; using QSB.HUD;
using QSB.HUD;
using QSB.Messaging; using QSB.Messaging;
using QSB.ShipSync.Messages; using QSB.ShipSync.Messages;
using QSB.WorldSync; using QSB.WorldSync;
using Steamworks;
using System.Linq; using System.Linq;
using UnityEngine; using UnityEngine;
@ -51,7 +51,7 @@ public class CommandInterpreter : MonoBehaviour, IAddComponentOnStart
} }
var productUserID = QSBCore.IsHost var productUserID = QSBCore.IsHost
? EOSSDKComponent.LocalUserProductIdString ? SteamUser.GetSteamID().ToString()
: QSBNetworkManager.singleton.networkAddress; : QSBNetworkManager.singleton.networkAddress;
GUIUtility.systemCopyBuffer = productUserID; GUIUtility.systemCopyBuffer = productUserID;