From c63e2e381346c3b118a0eaed7792eb5c01a3a3a1 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 | 199 ++++++++++++++++++++++++++++++++++- strafe-client/src/session.rs | 2 +- 3 files changed, 205 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