mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-06 00:32:35 -08:00
Fix reset guards
This commit is contained in:
1 parent
abec5ea4b9
commit
68545e52f7
1 file changed
+2
@@ -76,6 +76,8 @@ class ResetsManager(val context: ResetsContext, val server: VRServer, val settin
|
||||
|
||||
executeTrackerResets(resetType, bodyParts, settings.context.state.value.data.resetsConfig)
|
||||
|
||||
// Update state and config
|
||||
context.dispatch(ResetsActions.EndReset(resetType))
|
||||
settings.context.dispatch(SettingsActions.Update { copy(resetsConfig = resetsConfig.copy(lastMountingMethod = MountingMethods.MANUAL)) })
|
||||
|
||||
AppLogger.resets.info("${resetType.name} Reset from $resetSourceName")
|
||||
|
||||
Reference in new issue
Block a user