use existing replay timer

This commit is contained in:
Quaternions 2025-01-18 01:39:13 -08:00
parent 1eac734c35
commit 45e9b3d0ce

View File

@ -311,7 +311,7 @@ impl InstructionConsumer<Instruction<'_>> for Session{
self.simulation=replay.simulation; self.simulation=replay.simulation;
}, },
} }
_=self.simulation.timer.set_paused(ins.time,false); // don't unpause -- use the replay timer state whether it is pasued or unpaused
}, },
Instruction::Playback(SessionPlaybackInstruction::IncreaseTimescale)=>{ Instruction::Playback(SessionPlaybackInstruction::IncreaseTimescale)=>{
match &self.view_state{ match &self.view_state{