diff options
Diffstat (limited to 'engine/src/input.rs')
-rw-r--r-- | engine/src/input.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/engine/src/input.rs b/engine/src/input.rs index 04e5263..e847702 100644 --- a/engine/src/input.rs +++ b/engine/src/input.rs @@ -68,10 +68,6 @@ impl Keys pub fn set_key_state(&mut self, key: Key, new_key_state: KeyState) { - if matches!(new_key_state, KeyState::Repeat) { - return; - } - let Some(key_data) = self.map.get_mut(&key) else { unreachable!(); }; |