File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -470,6 +470,7 @@ class Runtime extends EventEmitter {
470
470
/**
471
471
* If set to true, features such as reading colors from the user's webcam will be disabled
472
472
* when the project has access to any external communication method to protect user privacy.
473
+ * Requires TurboWarp/scratch-render.
473
474
* Do not update this directly. Use Runtime.setEnforcePrivacy() instead.
474
475
*/
475
476
this . enforcePrivacy = true ;
@@ -3173,7 +3174,7 @@ class Runtime extends EventEmitter {
3173
3174
this . enforcePrivacy &&
3174
3175
Object . values ( this . externalCommunicationMethods ) . some ( i => i )
3175
3176
) ;
3176
- if ( this . renderer ) {
3177
+ if ( this . renderer && this . renderer . setPrivateSkinAccess ) {
3177
3178
this . renderer . setPrivateSkinAccess ( ! enforceRestrictions ) ;
3178
3179
}
3179
3180
}
You can’t perform that action at this time.
0 commit comments