diff --git a/ai/processor.py b/ai/processor.py index 0412144..4eee89a 100644 --- a/ai/processor.py +++ b/ai/processor.py @@ -73,12 +73,7 @@ class AIProcessor: print('ERROR NEXT STEPS IS STR, ', nextsteps) if tc.function.name == "click_button": # extract click position for screenshot crosshair - click_positions.extend(tuple( # button_type, x, y - map(int,(ags.get("x", 0), - ags.get("y", 0) - ) - ) - )) + click_positions.append((ags.get("x", 0), ags.get("y", 0))) r = ai.compute._execute( name=tc.function.name, args=json.loads(tc.function.arguments),