Update fenrir.py

This commit is contained in:
chrys87 2016-09-28 16:27:04 +02:00 committed by GitHub
parent eff545df05
commit 45e740caa5

View File

@ -71,6 +71,8 @@ class fenrir():
#print(time.time()-startTime) #print(time.time()-startTime)
def prepareCommand(self): def prepareCommand(self):
if self.env['runtime']['screenManager'].isSuspendingScreen():
return
if self.environment['runtime']['inputManager'].noKeyPressed(): if self.environment['runtime']['inputManager'].noKeyPressed():
return return
if self.environment['input']['keyForeward'] > 0: if self.environment['input']['keyForeward'] > 0: