Skip to content

Commit

Permalink
Disable roomscale while adjusting attached objects
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Oct 27, 2023
1 parent 2ed20da commit 04c5250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mods/VR.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -458,11 +458,11 @@ class VR : public Mod {
}

bool is_roomscale_enabled() const {
return m_roomscale_movement->value();
return m_roomscale_movement->value() && !m_aim_temp_disabled;
}

bool is_roomscale_using_actor_rotation() const {
return m_roomscale_movement_actor_rotation->value();
return m_roomscale_movement_actor_rotation->value() && !m_aim_temp_disabled;
}

bool should_skip_post_init_properties() const {
Expand Down

0 comments on commit 04c5250

Please sign in to comment.