From 4c1198098966f4a9c2ad1901bbaee968d2703705 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Sat, 18 Jan 2025 01:13:45 -0800 Subject: [PATCH] headless replay test --- lib/common/src/run.rs | 6 ++ strafe-client/src/physics.rs | 204 ++++++++++++++++++++++++++++++++++- strafe-client/src/session.rs | 2 +- 3 files changed, 210 insertions(+), 2 deletions(-) diff --git a/lib/common/src/run.rs b/lib/common/src/run.rs index 2b21060..622ba4e 100644 --- a/lib/common/src/run.rs +++ b/lib/common/src/run.rs @@ -110,4 +110,10 @@ impl Run{ self.flagged=Some(flag_reason); } } + pub fn get_finish_time(&self)->Option