mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-25 00:28:20 -05:00
Fix unset legacySprites
field in media.json breaks running
This commit is contained in:
parent
34582f729e
commit
a660eb597b
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ export default class MediaLib {
|
||||||
path = parsedResult.path;
|
path = parsedResult.path;
|
||||||
samples = parsedResult.samples;
|
samples = parsedResult.samples;
|
||||||
sprites = parsedResult.sprites;
|
sprites = parsedResult.sprites;
|
||||||
legacySprites = parsedResult.legacySprites;
|
legacySprites = parsedResult.legacySprites || [];
|
||||||
backgrounds = parsedResult.backgrounds;
|
backgrounds = parsedResult.backgrounds;
|
||||||
sounds = parsedResult.sounds;
|
sounds = parsedResult.sounds;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue