do another fix

This commit is contained in:
chrys 2016-09-25 19:23:06 +02:00
parent 4c9db84fe2
commit fb7ea791f0
2 changed files with 1 additions and 1 deletions

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 and self.environment['runtime']['inputManager'].isFenrirKeyPressed()):
if not (self.wasCommand or self.environment['runtime']['inputManager'].isFenrirKeyPressed()):
print('dri')
self.environment['runtime']['inputManager'].writeEventBuffer()
if self.environment['runtime']['inputManager'].noKeyPressed():