improve performance

This commit is contained in:
chrys 2016-09-25 22:31:51 +02:00
parent 7a12cc0889
commit 620321b5da

View File

@ -73,8 +73,6 @@ class fenrir():
#print(time.time()-startTime)
def prepareCommand(self):
if time.time() - self.environment['commandInfo']['lastCommandExecutionTime'] < 0.2:
return
if self.environment['runtime']['inputManager'].noKeyPressed():
return
if self.environment['input']['keyForeward'] > 0: