Skip to content

Commit

Permalink
Fix crash introduced in #22874 (#22884)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 authored Nov 8, 2024
1 parent b5e5ff8 commit ffeb761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library_sdl.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ var LibrarySDL = {
receiveEvent(event) {
function unpressAllPressedKeys() {
// Un-press all pressed keys: TODO
for (var keyCode of SDL.keyboardMap) {
for (var keyCode of Object.values(SDL.keyboardMap)) {
SDL.events.push({
type: 'keyup',
keyCode,
Expand Down

0 comments on commit ffeb761

Please sign in to comment.