giann / settlers-issues

Issue tracker for Settlers of the Deep
1 stars 0 forks source link

Console registers every key twice #4

Closed s-ol closed 5 years ago

s-ol commented 5 years ago

After changing the font, then starting a new game and opening the console each key is registered twice (e.g. pressing 's' will print 'ss' in the console).

giann commented 5 years ago

Do you mean the in-game debug console ? You should not have access to it on release version my bad.

s-ol commented 5 years ago

@giann okay :P but the bug you might want to fix anyway, it seems the keyboard handler is installed 'over' another one and when the settings menu restarts the game the handlers aren't cleared.

giann commented 5 years ago

The duplicated keyboard events seem to only happen in the console. So I'll fix the issue by removing it altogether.