added companion compatibility with phaser 3.54.0
This commit is contained in:
@@ -227,9 +227,5 @@ export abstract class Character extends Container {
|
||||
}
|
||||
super.destroy();
|
||||
this.playerName.destroy();
|
||||
|
||||
if (this.companion) {
|
||||
this.companion.destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user