Fixed exception caused by the permissions panel not being set in teleporter.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user