Skip to content

Commit

Permalink
add missing capture skip non gameplay condition (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
khanghugo authored Jan 8, 2024
1 parent 8669b5e commit 4ee4dfb
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 4ee4dfb

Please sign in to comment.