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

Commit

Permalink
Made copyable instance link private server compatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
RequiDev committed Jun 23, 2022
1 parent de9ad05 commit 5530e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReModCE/Components/InstanceLinkComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 5530e02

Please sign in to comment.