From 5530e02c24b5fd66345d9b9f757114d650cad78b Mon Sep 17 00:00:00 2001 From: Requi Date: Thu, 23 Jun 2022 22:47:24 +0200 Subject: [PATCH] Made copyable instance link private server compatible. --- ReModCE/Components/InstanceLinkComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReModCE/Components/InstanceLinkComponent.cs b/ReModCE/Components/InstanceLinkComponent.cs index 49d3d97..3f639f6 100644 --- a/ReModCE/Components/InstanceLinkComponent.cs +++ b/ReModCE/Components/InstanceLinkComponent.cs @@ -54,7 +54,7 @@ public override void OnUiManagerInitEarly() { var apiWorld = RoomManager.field_Internal_Static_ApiWorld_0; var apiWorldInstance = RoomManager.field_Internal_Static_ApiWorldInstance_0; - GUIUtility.systemCopyBuffer = $"https://vrchat.com/home/launch?worldId={apiWorld.id}&instanceId={apiWorldInstance.instanceId}"; + GUIUtility.systemCopyBuffer = $"{apiWorld.id}:{apiWorldInstance.instanceId}"; }, userProfileSection); copyInstanceButton.RectTransform.sizeDelta = new Vector2(sizeDeltaX, copyInstanceButton.RectTransform.sizeDelta.y);