diff options
| author | Schark <jordan@schark.online> | 2026-02-25 15:29:28 -0500 |
|---|---|---|
| committer | Schark <jordan@schark.online> | 2026-02-25 15:29:28 -0500 |
| commit | 10d404b186a9e399c3423a625a3cac443ed7c8a4 (patch) | |
| tree | e26e931f8bf2cf2fddfe2d5f3ded18721570020d | |
| parent | 0d880210ee0d70d61bc055eecbdf0811be03ba3e (diff) | |
| download | cs2pov-10d404b186a9e399c3423a625a3cac443ed7c8a4.tar.gz cs2pov-10d404b186a9e399c3423a625a3cac443ed7c8a4.zip | |
First round survival bug fixed
| -rw-r--r-- | cs2pov/navigation.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/cs2pov/navigation.py b/cs2pov/navigation.py index 76b6b12..b2462a3 100644 --- a/cs2pov/navigation.py +++ b/cs2pov/navigation.py @@ -287,13 +287,7 @@ def recording_loop_tick_nav( target_end_time = r.prestart_time - 0.2 break - # For segment 0, use target_end_time directly (time from demo start) - # since we don't know the exact demo position when the loop started. - # For subsequent segments (after gototick), demo is at start_time. - if state.current_segment_index == 0: - expected_duration = target_end_time - else: - expected_duration = target_end_time - current_seg.start_time + expected_duration = target_end_time - current_seg.start_time segment_elapsed = time.time() - state.segment_start_wall_time if segment_elapsed >= expected_duration: |
