small bugfix
This commit is contained in:
parent
348877b5d9
commit
c5ef1783a3
@ -106,14 +106,18 @@ class EventParser(FileParser):
|
||||
)
|
||||
macro_api_match = False
|
||||
if event_match is not None:
|
||||
valid_event = False
|
||||
for idx in range(3):
|
||||
if "MAKE_EVENT" in moving_window[self.moving_window_center_idx + idx]:
|
||||
macro_api_match = True
|
||||
valid_event = True
|
||||
break
|
||||
elif "makeEvent" in moving_window[self.moving_window_center_idx + idx]:
|
||||
valid_event = True
|
||||
break
|
||||
else:
|
||||
event_match = False
|
||||
if not valid_event:
|
||||
event_match = False
|
||||
|
||||
if event_match:
|
||||
self.__handle_event_match(
|
||||
event_match=event_match,
|
||||
|
Loading…
Reference in New Issue
Block a user