Skip to content

Commit

Permalink
Rename qs parameter enabling touchscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
johnshaughnessy committed Oct 15, 2020
1 parent 9655b73 commit 6c996cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scene-entry-manager.js
Expand Up @@ -74,7 +74,7 @@ export default class SceneEntryManager {
const waypointSystem = this.scene.systems["hubs-systems"].waypointSystem;
waypointSystem.moveToSpawnPoint();

if (isMobile || forceEnableTouchscreen || qsTruthy("mobile")) {
if (isMobile || forceEnableTouchscreen || qsTruthy("force_enable_touchscreen")) {
this.avatarRig.setAttribute("virtual-gamepad-controls", {});
}

Expand Down

0 comments on commit 6c996cc

Please sign in to comment.