From 1eac734c350095c4f379d637a16ad41dce264f75 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Sat, 18 Jan 2025 01:39:03 -0800 Subject: [PATCH] don't make a new replay if you are spectating --- strafe-client/src/session.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strafe-client/src/session.rs b/strafe-client/src/session.rs index 8a8d9f6..29e5bc1 100644 --- a/strafe-client/src/session.rs +++ b/strafe-client/src/session.rs @@ -251,7 +251,7 @@ impl InstructionConsumer> for Session{ // what if they pause for 5ms lmao _=self.simulation.timer.set_paused(ins.time,paused); }, - Instruction::Control(SessionControlInstruction::CopyRecordingIntoReplayAndSpectate)=>{ + Instruction::Control(SessionControlInstruction::CopyRecordingIntoReplayAndSpectate)=> if let ViewState::Play=self.view_state{ // Bind: B // pause simulation