File tree Expand file tree Collapse file tree
VRCFaceTracking.Core/Library Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,8 +210,8 @@ public void Initialize()
210210 ExpressionStatus = replyInitPacket . expressionSuccess ? ModuleState . Active : ModuleState . Uninitialized ;
211211
212212 AvailableSandboxModules [ moduleIndex ] . ModuleInformation . Active = true ;
213- AvailableSandboxModules [ moduleIndex ] . ModuleInformation . UsingEye = replyInitPacket . eyeSuccess ;
214- AvailableSandboxModules [ moduleIndex ] . ModuleInformation . UsingExpression = replyInitPacket . expressionSuccess ;
213+ AvailableSandboxModules [ moduleIndex ] . ModuleInformation . UsingEye = ! AvailableSandboxModules . Any ( m => m . ModuleInformation . UsingEye ) && replyInitPacket . eyeSuccess ;
214+ AvailableSandboxModules [ moduleIndex ] . ModuleInformation . UsingExpression = ! AvailableSandboxModules . Any ( m => m . ModuleInformation . UsingExpression ) && replyInitPacket . expressionSuccess ;
215215 AvailableSandboxModules [ moduleIndex ] . ModuleInformation . StaticImages = replyInitPacket . IconDataStreams ;
216216 EnsureModuleThreadStartedSandboxed ( AvailableSandboxModules [ moduleIndex ] ) ;
217217
You can’t perform that action at this time.
0 commit comments