mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Fix keyWasDown in input handler
This was changed 291a6b70d6
but should have never been done.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user