From 3dd7f06f58f128643d5f7b2d21b35211780305a5 Mon Sep 17 00:00:00 2001 From: theripper93 Date: Mon, 7 Oct 2024 12:43:55 +0200 Subject: [PATCH] a --- scripts/core/prefab/passTurnPanel.js | 5 +++++ 1 file changed, 5 insertions(+) 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{