This commit is contained in:
Mashy 2018-11-18 01:54:09 +10:00
parent 21d2f5c7e4
commit 3dc6baf2b9

View File

@ -107,6 +107,7 @@ class PhaserPassives extends Phaser.Scene {
} }
displayPassiveText(node, pointer) { displayPassiveText(node, pointer) {
if (this.nodeText) this.nodeText.destroy();
this.nodeText = this.add.text(0, 0, '', { this.nodeText = this.add.text(0, 0, '', {
fontSize: '20px', fontSize: '20px',
fontFamily: 'Arial', fontFamily: 'Arial',