diff --git a/scripts/core/prefab/passTurnPanel.js b/scripts/core/prefab/passTurnPanel.js index 4577a10..35a0a5d 100644 --- a/scripts/core/prefab/passTurnPanel.js +++ b/scripts/core/prefab/passTurnPanel.js @@ -16,6 +16,11 @@ export class PassTurnPanel extends ActionPanel { new PassTurnButton() ]; } + + updateVisibility() { + super.updateVisibility(); + this._buttons.forEach(button => button.render()); + } } class PassTurnButton extends ActionButton{