diff --git a/src/modules/headset/headset_openvr.c b/src/modules/headset/headset_openvr.c index 9bb29c69..2aed65a3 100755 --- a/src/modules/headset/headset_openvr.c +++ b/src/modules/headset/headset_openvr.c @@ -715,6 +715,10 @@ static void openvr_update(float dt) { break; } + case EVREventType_VREvent_Quit: + lovrEventPush((Event) { .type = EVENT_QUIT, .data.quit = { .exitCode = 0 } }); + break; + default: break; } }