fix wrongly executed

This commit is contained in:
chrys 2017-07-13 00:01:10 +02:00
parent 3c1405a786
commit 4fe637df9a

View File

@ -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: