diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-02 01:34:19 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-02 01:34:19 -0700 |
commit | cd6a3a56b0a9f27dd7250c7641776fe1bd184888 (patch) | |
tree | b26c2731e39c63b748ac3bc76cc977419bae4746 /src/engine/systems | |
parent | 1ec5a8d088f599d094f387abc6014f228607b605 (diff) | |
download | the-abstraction-engine-cd6a3a56b0a9f27dd7250c7641776fe1bd184888.tar.gz the-abstraction-engine-cd6a3a56b0a9f27dd7250c7641776fe1bd184888.zip |
add modal interaction with code
Diffstat (limited to 'src/engine/systems')
-rw-r--r-- | src/engine/systems/Input.ts | 3 |
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) { |