Merge pull request #849 from nullworks/lightcat

Fix #847 not working as intended
This commit is contained in:
LightCat 2019-10-22 22:08:48 +02:00 committed by GitHub
commit 8280dc1d4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ public:
void key(SDL_Keycode key)
{
Key k{};
k.keycode = SDL_GetScancodeFromKey(key);
k.keycode = key;
setInternal(k);
}