From 5d701592a59179e8d2ab45c18f2803614b1879e3 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 4 Sep 2019 18:52:50 +0200 Subject: [PATCH] this bugged me --- MLEM/Input/InputHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MLEM/Input/InputHandler.cs b/MLEM/Input/InputHandler.cs index 36b4d61..a1f7186 100644 --- a/MLEM/Input/InputHandler.cs +++ b/MLEM/Input/InputHandler.cs @@ -71,7 +71,7 @@ namespace MLEM.Input { } } else { // if the repeating key isn't being held anymore, reset - if (!this.KeyboardState.IsKeyDown(this.heldKey)) { + if (!this.IsKeyDown(this.heldKey)) { this.heldKey = Keys.None; } else { var now = DateTime.UtcNow;