Skip to content

Commit

Permalink
fix(session): 🐛 Fix variant extrapolation
Browse files Browse the repository at this point in the history
  • Loading branch information
zmerp committed Sep 9, 2023
1 parent 6572195 commit 5e9e9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alvr/session/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ fn extrapolate_session_settings_from_session_settings(
.iter()
.any(|named_entry| variant_str == named_entry.name)
})
.is_some()
.unwrap_or(false)
})
.unwrap_or_else(|| old_session_settings["variant"].clone());

Expand Down

0 comments on commit 5e9e9b6

Please sign in to comment.