corrected missing : also fixed indentation in core/inputManager.py
This commit is contained in:
parent
cdf1c00434
commit
9d5d3427a5
@ -70,8 +70,8 @@ class inputManager():
|
||||
def convertEventName(self, eventName):
|
||||
if not eventName:
|
||||
return ''
|
||||
if eventName == '':
|
||||
return ''
|
||||
if eventName == '':
|
||||
return ''
|
||||
eventName = eventName.upper()
|
||||
if eventName == 'KEY_LEFTCTRL':
|
||||
eventName = 'KEY_CTRL'
|
||||
|
@ -82,7 +82,7 @@ class fenrir():
|
||||
command = self.environment['runtime']['inputManager'].getCommandForShortcut(shortcut)
|
||||
if len(self.environment['input']['prevDeepestInput']) < len(self.environment['input']['currInput']):
|
||||
self.wasCommand = command != ''
|
||||
if command == ''
|
||||
if command == '':
|
||||
return
|
||||
self.environment['runtime']['commandManager'].queueCommand(command)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user