pong online: fix

This commit is contained in:
starnakin 2024-05-15 15:39:07 +02:00
parent 503fca16e1
commit d574906533

View File

@ -237,6 +237,8 @@ export default class PongOnlineView extends AbstractAuthenticatedView
destroyGameboard() destroyGameboard()
{ {
if (!this.canva)
return
this.app.removeChild(this.canva); this.app.removeChild(this.canva);
} }