1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-10-31 21:00:51 +01:00

this bugged me

This commit is contained in:
Ellpeck 2019-09-04 18:52:50 +02:00
parent 16fd2af560
commit 5d701592a5

View file

@ -71,7 +71,7 @@ namespace MLEM.Input {
} }
} else { } else {
// if the repeating key isn't being held anymore, reset // 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; this.heldKey = Keys.None;
} else { } else {
var now = DateTime.UtcNow; var now = DateTime.UtcNow;