From 55a5b741a300bcaab0da53a0758b083155ad8c71 Mon Sep 17 00:00:00 2001 From: chrys Date: Tue, 18 Jul 2017 01:04:38 +0200 Subject: [PATCH] revert fix that breaks more than it helps --- src/fenrir/core/fenrirManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fenrir/core/fenrirManager.py b/src/fenrir/core/fenrirManager.py index 5ca2a377..6cd078b6 100644 --- a/src/fenrir/core/fenrirManager.py +++ b/src/fenrir/core/fenrirManager.py @@ -117,8 +117,8 @@ class fenrirManager(): return shortcut = self.environment['runtime']['inputManager'].getCurrShortcut() command = self.environment['runtime']['inputManager'].getCommandForShortcut(shortcut) - if len(self.environment['input']['prevDeepestInput']) >= len(self.environment['input']['currInput']): - self.wasCommand = command != '' or self.environment['runtime']['inputManager'].isFenrirKeyPressed() or self.environment['runtime']['inputManager'].isScriptKeyPressed() + #if len(self.environment['input']['prevDeepestInput']) >= len(self.environment['input']['currInput']): + self.wasCommand = command != '' or self.environment['runtime']['inputManager'].isFenrirKeyPressed() or self.environment['runtime']['inputManager'].isScriptKeyPressed() if command == '': return self.environment['runtime']['commandManager'].queueCommand(command)