don't make a new replay if you are spectating
This commit is contained in:
parent
25e1312fe4
commit
1eac734c35
@ -251,7 +251,7 @@ impl InstructionConsumer<Instruction<'_>> for Session{
|
|||||||
// what if they pause for 5ms lmao
|
// what if they pause for 5ms lmao
|
||||||
_=self.simulation.timer.set_paused(ins.time,paused);
|
_=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
|
// Bind: B
|
||||||
|
|
||||||
// pause simulation
|
// pause simulation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user