From 89d16fcb57be8c795b8423a3af92ab4b4d209ae6 Mon Sep 17 00:00:00 2001 From: Colden Cullen Date: Thu, 24 Apr 2014 19:39:24 -0400 Subject: [PATCH] Clear keyEvents on reset. --- source/utility/input.d | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/utility/input.d b/source/utility/input.d index 073a21b3..4bf187ee 100644 --- a/source/utility/input.d +++ b/source/utility/input.d @@ -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 )