From ee9ee67870c4007fc3c3249dffd777857541420c Mon Sep 17 00:00:00 2001 From: gereon77 Date: Mon, 24 Jun 2024 16:36:21 +0200 Subject: [PATCH] Fix Show map button --- agot-bg-game-server/src/client/IngameComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agot-bg-game-server/src/client/IngameComponent.tsx b/agot-bg-game-server/src/client/IngameComponent.tsx index 862b20037..eabe9c3e3 100644 --- a/agot-bg-game-server/src/client/IngameComponent.tsx +++ b/agot-bg-game-server/src/client/IngameComponent.tsx @@ -234,7 +234,7 @@ export default class IngameComponent extends Component { } render(): ReactNode { - const draftHouseCards = this.ingame.childGameState instanceof DraftHouseCardsGameState; + const draftHouseCards = this.ingame.hasChildGameState(DraftHouseCardsGameState); const columnOrders = this.getColumnOrders(this.user?.settings.responsiveLayout);