consume fenrir key

This commit is contained in:
root 2016-09-25 19:17:40 +02:00
parent 433d801284
commit 4c9db84fe2

View File

@ -43,7 +43,7 @@ class fenrir():
# self.environment['runtime']['inputManager'].isFenrirKeyPressed()) and \
# not self.environment['runtime']['commandManager'].isCommandQueued():
print('vor',self.wasCommand,self.currShortcutLenght)
if not self.wasCommand:
if not (self.wasCommand and self.environment['runtime']['inputManager'].isFenrirKeyPressed()):
print('dri')
self.environment['runtime']['inputManager'].writeEventBuffer()
if self.environment['runtime']['inputManager'].noKeyPressed():