Update inputManager.py
This commit is contained in:
parent
af4e5cb9c4
commit
f270fd0691
@ -66,7 +66,7 @@ class inputManager():
|
|||||||
if not eventData:
|
if not eventData:
|
||||||
return
|
return
|
||||||
# a hang apears.. try to fix
|
# a hang apears.. try to fix
|
||||||
if self.env['input']['eventBuffer'] != []:
|
if self.env['input']['eventBuffer'] == []:
|
||||||
self.env['input']['currInput'] = []
|
self.env['input']['currInput'] = []
|
||||||
self.env['input']['prevInput'] = self.env['input']['currInput'].copy()
|
self.env['input']['prevInput'] = self.env['input']['currInput'].copy()
|
||||||
if eventData['EventState'] == 0:
|
if eventData['EventState'] == 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user