pong online: fix
This commit is contained in:
parent
503fca16e1
commit
d574906533
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user