Skip to content

Commit 492ffd2

Browse files
author
DESKTOP-UP40J4L\chenwenhao
committed
fix save wio terminal project bug
1 parent bba8a1b commit 492ffd2

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

vm/src/serialization/sb2.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const {deserializeCostume, deserializeSound} = require('./deserialize-assets.js'
2626
// Constants used during deserialization of an SB2 file
2727
const CORE_EXTENSIONS = [
2828
'argument',
29+
'colour',
2930
'control',
3031
'data',
3132
'event',
@@ -35,7 +36,10 @@ const CORE_EXTENSIONS = [
3536
'operator',
3637
'procedures',
3738
'sensing',
38-
'sound'
39+
'sound',
40+
'system',
41+
'display',
42+
'azure'
3943
];
4044

4145
// Adjust script coordinates to account for

vm/src/serialization/sb3.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ const CORE_EXTENSIONS = [
5353
'operator',
5454
'procedures',
5555
'sensing',
56-
'sound'
56+
'sound',
57+
'system',
58+
'display',
59+
'azure'
5760
];
5861

5962
// Constants referring to 'primitive' blocks that are usually shadows,

0 commit comments

Comments
 (0)