fix replay after opening a game

This commit is contained in:
Zutatensuppe 2021-06-05 08:58:20 +02:00
parent 98acc0dcf6
commit 95a06972c7
6 changed files with 61 additions and 12 deletions

View file

@ -80,7 +80,9 @@ export default defineComponent({
replayOnSpeedUp: () => {},
replayOnSpeedDown: () => {},
replayOnPauseToggle: () => {},
connect: () => {},
disconnect: () => {},
unload: () => {},
},
replay: {
@ -129,6 +131,7 @@ export default defineComponent({
)
},
unmounted () {
this.g.unload()
this.g.disconnect()
},
methods: {