document another bind
This commit is contained in:
parent
cc8f6b059d
commit
25e1312fe4
@ -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{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user