@@ -1115,7 +1115,7 @@ const parseScratchAssets = function (object, runtime, zip) {
11151115 // we're always loading the 'sb3' representation of the costume
11161116 // any translation that needs to happen will happen in the process
11171117 // of building up the costume object into an sb3 format
1118- return runtime . wrapAssetRequest ( deserializeCostume ( costume , runtime , zip )
1118+ return runtime . wrapAssetRequest ( ( ) => deserializeCostume ( costume , runtime , zip )
11191119 . then ( ( ) => loadCostume ( costumeMd5Ext , costume , runtime ) ) ) ;
11201120 // Only attempt to load the costume after the deserialization
11211121 // process has been completed
@@ -1140,7 +1140,7 @@ const parseScratchAssets = function (object, runtime, zip) {
11401140 // we're always loading the 'sb3' representation of the costume
11411141 // any translation that needs to happen will happen in the process
11421142 // of building up the costume object into an sb3 format
1143- return runtime . wrapAssetRequest ( deserializeSound ( sound , runtime , zip )
1143+ return runtime . wrapAssetRequest ( ( ) => deserializeSound ( sound , runtime , zip )
11441144 . then ( ( ) => loadSound ( sound , runtime , assets . soundBank ) ) ) ;
11451145 // Only attempt to load the sound after the deserialization
11461146 // process has been completed.
0 commit comments