fix scripts

This commit is contained in:
chrys 2016-09-27 23:31:46 +02:00
parent 63a32a4306
commit 2cd4fb51d2

View File

@ -65,8 +65,7 @@ class fenrir():
if self.environment['runtime']['screenManager'].isScreenChange(): if self.environment['runtime']['screenManager'].isScreenChange():
self.environment['runtime']['commandManager'].executeDefaultTrigger('onScreenChanged') self.environment['runtime']['commandManager'].executeDefaultTrigger('onScreenChanged')
else: else:
if self.environment['runtime']['inputManager'].noKeyPressed(): self.environment['runtime']['commandManager'].executeDefaultTrigger('onScreenUpdate')
self.environment['runtime']['commandManager'].executeDefaultTrigger('onScreenUpdate')
self.handleCommands() self.handleCommands()
#print(time.time()-startTime) #print(time.time()-startTime)