summaryrefslogtreecommitdiff
path: root/src/engine/systems/Input.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/systems/Input.ts')
-rw-r--r--src/engine/systems/Input.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/systems/Input.ts b/src/engine/systems/Input.ts
index df4d651..3da018d 100644
--- a/src/engine/systems/Input.ts
+++ b/src/engine/systems/Input.ts
@@ -52,6 +52,9 @@ export class Input extends System {
}
interactable.interact();
+ KeyConstants.ActionKeys.get(Action.INTERACT)!.forEach((key) =>
+ this.keyReleased(key),
+ );
}
public handleMovement(entity: Entity) {