Skip to content

Commit

Permalink
Disallow vr_entry_type room limit override
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Nov 23, 2023
1 parent 56bfe7e commit 9e214de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react-components/ui-root.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ class UIRoot extends Component {
handleForceEntry = () => {
console.log("Forced entry type: " + this.props.forcedVREntryType);

if (!this.props.forcedVREntryType) return;
if (!this.props.forcedVREntryType || !this.props.hubChannel.canEnterRoom(this.props.hub)) return;

if (this.props.forcedVREntryType.startsWith("daydream")) {
this.enterDaydream();
Expand Down

0 comments on commit 9e214de

Please sign in to comment.