Skip to content

Commit ee9ee67

Browse files
committed
Fix Show map button
1 parent b57671b commit ee9ee67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agot-bg-game-server/src/client/IngameComponent.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export default class IngameComponent extends Component<IngameComponentProps> {
234234
}
235235

236236
render(): ReactNode {
237-
const draftHouseCards = this.ingame.childGameState instanceof DraftHouseCardsGameState;
237+
const draftHouseCards = this.ingame.hasChildGameState(DraftHouseCardsGameState);
238238

239239
const columnOrders = this.getColumnOrders(this.user?.settings.responsiveLayout);
240240

0 commit comments

Comments
 (0)