unpause sim on bot file export

This commit is contained in:
Quaternions 2025-01-18 01:32:05 -08:00
parent 40ea0e6c7d
commit 4cd287dbb8

View File

@ -297,6 +297,7 @@ impl InstructionConsumer<Instruction<'_>> for Session{
strafesnet_snf::bot::write_bot(std::io::BufWriter::new(file),replay.recording.instructions).unwrap(); strafesnet_snf::bot::write_bot(std::io::BufWriter::new(file),replay.recording.instructions).unwrap();
}, },
} }
_=self.simulation.timer.set_paused(ins.time,false);
}, },
Instruction::Playback(SessionPlaybackInstruction::IncreaseTimescale)=>{ Instruction::Playback(SessionPlaybackInstruction::IncreaseTimescale)=>{
match &self.view_state{ match &self.view_state{