document another bind

This commit is contained in:
Quaternions 2025-01-18 01:32:52 -08:00
parent cc8f6b059d
commit 25e1312fe4

View File

@ -290,6 +290,7 @@ impl InstructionConsumer<Instruction<'_>> for Session{
_=self.simulation.timer.set_paused(ins.time,false); _=self.simulation.timer.set_paused(ins.time,false);
}, },
Instruction::Control(SessionControlInstruction::SaveReplay)=>{ Instruction::Control(SessionControlInstruction::SaveReplay)=>{
// Bind: N
let view_state=core::mem::replace(&mut self.view_state,ViewState::Play); let view_state=core::mem::replace(&mut self.view_state,ViewState::Play);
let file=std::fs::File::create(format!("{}.snfb",ins.time)).unwrap(); let file=std::fs::File::create(format!("{}.snfb",ins.time)).unwrap();
match view_state{ match view_state{