This commit is contained in:
chrys
2018-03-26 08:55:26 +02:00
parent 9e27ec9295
commit 22189b3ac8
7 changed files with 25 additions and 11 deletions

View File

@@ -69,7 +69,7 @@ class fenrirManager():
if self.environment['runtime']['helpManager'].isTutorialMode():
self.environment['runtime']['inputManager'].clearEventBuffer()
self.detectCommand()
self.detectShortcutCommand()
if self.modifierInput:
self.environment['runtime']['inputManager'].clearEventBuffer()
@@ -167,7 +167,7 @@ class fenrirManager():
self.environment['runtime']['eventManager'].putToEventQueue(fenrirEventType.ExecuteCommand, command)
if self.command != '':
self.command = ''
def detectCommand(self):
def detectShortcutCommand(self):
if self.environment['input']['keyForeward'] > 0:
return
if self.environment['runtime']['inputManager'].isKeyPress():