added companion compatibility with phaser 3.54.0
This commit is contained in:
parent
32784d6775
commit
8d4e0c3e88
3 changed files with 12 additions and 4 deletions
|
@ -227,9 +227,5 @@ export abstract class Character extends Container {
|
|||
}
|
||||
super.destroy();
|
||||
this.playerName.destroy();
|
||||
|
||||
if (this.companion) {
|
||||
this.companion.destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue