From 4fe637df9a884786dde894d61ed5ccdcdc2246fd Mon Sep 17 00:00:00 2001 From: chrys Date: Thu, 13 Jul 2017 00:01:10 +0200 Subject: [PATCH] fix wrongly executed --- src/fenrir/core/fenrirManager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fenrir/core/fenrirManager.py b/src/fenrir/core/fenrirManager.py index 6f12c530..deb99916 100644 --- a/src/fenrir/core/fenrirManager.py +++ b/src/fenrir/core/fenrirManager.py @@ -62,7 +62,8 @@ class fenrirManager(): if self.environment['runtime']['inputManager'].noKeyPressed(): if self.wasCommand: self.wasCommand = False - self.environment['runtime']['inputManager'].clearEventBuffer() + self.environment['runtime']['inputManager'].clearEventBuffer() + self.environment['runtime']['commandManager'].clearCommandQueued() if self.environment['runtime']['helpManager'].isTutorialMode(): self.environment['runtime']['inputManager'].clearEventBuffer() if self.environment['input']['keyForeward'] > 0: