Skip to content

Commit

Permalink
Fix dumb thing in example script
Browse files Browse the repository at this point in the history
  • Loading branch information
MerlinVR committed Apr 19, 2021
1 parent 6cca77f commit a03a6e7
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ private void Start()
// Prevents people who are not the master from taking ownership
public override bool OnOwnershipRequest(VRCPlayerApi requestingPlayer, VRCPlayerApi requestedOwner)
{
if (!requestedOwner.isMaster)
return false;

return true;
return requestedOwner.isMaster;
}

public override void OnDeserialization()
Expand Down

0 comments on commit a03a6e7

Please sign in to comment.