Update plugins/openvr/src/OpenVrHelpers.cpp

I screm

Co-Authored-By: Thijs Wenker <me@thoys.nl>
This commit is contained in:
Fluffy Jenkins 2019-12-20 00:00:17 +00:00 committed by GitHub
parent 9f3772093a
commit ac9adc3dff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@ bool isHMDInErrorState = false;
vr::IVRSystem* acquireOpenVrSystem() {
bool hmdPresent = vr::VR_IsHmdPresent();
if (hmdPresent && (!isHMDInErrorState)) {
if (hmdPresent && !isHMDInErrorState) {
Lock lock(mutex);
if (!activeHmd) {
#if DEV_BUILD