Skip to content

Commit

Permalink
Clear keyEvents on reset.
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdenCullen committed Apr 24, 2014
1 parent 0d6cc40 commit 89d16fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/utility/input.d
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ public:
foreach( key; keyBindings.keys )
keyBindings.remove( key );

foreach( key; keyEvents.keys )
keyEvents.remove( key );

foreach( string name, Node bind; bindings )
{
if( bind.isScalar )
Expand Down

0 comments on commit 89d16fc

Please sign in to comment.