Update fenrir.py
This commit is contained in:
parent
e501f7293f
commit
8f8f8305e2
@ -37,6 +37,9 @@ class fenrir():
|
||||
def handleProcess(self):
|
||||
eventReceived = self.environment['runtime']['inputManager'].getInputEvent()
|
||||
startTime = time.time()
|
||||
if not eventReceived:
|
||||
if not self.environment['runtime']['screenManager'].isSuspendingScreen():
|
||||
self.environment['runtime']['inputManager'].updateInputDevices()
|
||||
if eventReceived:
|
||||
self.prepareCommand()
|
||||
if not (self.wasCommand or self.environment['generalInformation']['tutorialMode']) or self.environment['runtime']['screenManager'].isSuspendingScreen():
|
||||
|
Loading…
Reference in New Issue
Block a user