Fixed exception caused by the permissions panel not being set in teleporter.

This commit is contained in:
2025-09-19 14:51:48 -04:00
parent 902d983bce
commit f88c5598ee
28 changed files with 143 additions and 143 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ public class PlayerTeleporter : UdonSharpBehaviour
public override void OnPlayerRespawn(VRCPlayerApi Player)
{
if (Player == Networking.InstanceOwner || Player == Networking.Master || _PermissionsPanel.IsPlayerHost(Player))
if (_PermissionsPanel.IsPlayerHost(Player))
{
_HostTeleportButtons.SetActive(true);
}