Update fenrir.py
This commit is contained in:
parent
eff545df05
commit
45e740caa5
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user