1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

Fix keyWasDown in input handler

This was changed 291a6b70d6 but should have never been done.
This commit is contained in:
sfan5 2021-02-23 14:21:15 +01:00
parent 35b476c65d
commit 9b59b2f75d
2 changed files with 4 additions and 9 deletions

View file

@ -201,7 +201,7 @@ private:
// The current state of keys
KeyList keyIsDown;
// Whether a key was down
// Like keyIsDown but only reset when that key is read
KeyList keyWasDown;
// Whether a key has just been pressed