From 22ffc1201b6304b21ff0a47189c0a30376f9b2c0 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Tue, 24 Sep 2024 19:41:37 -0500 Subject: [PATCH] discard control_click when tracking last_action_type --- src/tools/replay.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tools/replay.cpp b/src/tools/replay.cpp index 00dda3fe..ced70963 100644 --- a/src/tools/replay.cpp +++ b/src/tools/replay.cpp @@ -156,7 +156,10 @@ Element& pop_next_action(std::string expected_action_type) { replay_fps_limit->frame_finished(); } - last_action_type = to_return->Value(); + // control_click actions are not meaningful for debugging + if (to_return->Value() != "control_click"){ + last_action_type = to_return->Value(); + } return *to_return; }