Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Commit 5530e02

Browse files
committed
Made copyable instance link private server compatible.
1 parent de9ad05 commit 5530e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReModCE/Components/InstanceLinkComponent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public override void OnUiManagerInitEarly()
5454
{
5555
var apiWorld = RoomManager.field_Internal_Static_ApiWorld_0;
5656
var apiWorldInstance = RoomManager.field_Internal_Static_ApiWorldInstance_0;
57-
GUIUtility.systemCopyBuffer = $"https://vrchat.com/home/launch?worldId={apiWorld.id}&instanceId={apiWorldInstance.instanceId}";
57+
GUIUtility.systemCopyBuffer = $"{apiWorld.id}:{apiWorldInstance.instanceId}";
5858
}, userProfileSection);
5959
copyInstanceButton.RectTransform.sizeDelta = new Vector2(sizeDeltaX, copyInstanceButton.RectTransform.sizeDelta.y);
6060

0 commit comments

Comments
 (0)