From dadcdc92ef2079dec942479e4571d8bdeda8f6f0 Mon Sep 17 00:00:00 2001 From: Dennis Schoepf Date: Mon, 2 Aug 2021 22:21:45 +0200 Subject: [PATCH] Do not allow clicks on companion --- src/ui/companion.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/companion.ts b/src/ui/companion.ts index 3c610da..0ebf0dc 100644 --- a/src/ui/companion.ts +++ b/src/ui/companion.ts @@ -185,7 +185,7 @@ export class Companion { } handleClick() { - const { companionState } = store.getState(); + /*const { companionState } = store.getState(); let newCompanionState: CompanionState; if (companionState === CompanionState.ACTIVE) { @@ -194,7 +194,7 @@ export class Companion { newCompanionState = CompanionState.ACTIVE; } - store.setState({ companionState: newCompanionState }); + store.setState({ companionState: newCompanionState });*/ } handleMouseEnter() {