Skip to content

Commit

Permalink
add missing capture skip non gameplay condition
Browse files Browse the repository at this point in the history
  • Loading branch information
khanghugo committed Jan 5, 2024
1 parent 8669b5e commit 75fc20a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hooks/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2274,7 +2274,9 @@ pub mod exported {
};

if rv != 0 {
capture::time_passed(marker);
if capture_skip_non_gameplay::should_record_current_frame(marker) {
capture::time_passed(marker);
}

tas_optimizer::update_client_connection_condition(marker);
tas_optimizer::maybe_receive_messages_from_remote_server(marker);
Expand Down

0 comments on commit 75fc20a

Please sign in to comment.