add restart event

This commit is contained in:
Harvey committed 2021-12-24 11:36:50 +08:00
1 parent 50a3809a10
commit dceb8e731b
5 files changed
+21 -1

No files matched your search

@@ -40,6 +40,7 @@ export default function eventInit(art, player) {
art.loading.show = false;
art.controls.show = true;
art.mask.show = true;
art.isReady = true;
art.emit('ready');
});