time travel warning is more descriptive
This commit is contained in:
parent
dd7e48350d
commit
4b74ea8acf
@ -1957,7 +1957,7 @@ fn atomic_input_instruction(state:&mut PhysicsState,data:&PhysicsData,ins:TimedI
|
|||||||
_=>println!("{}|{:?}",ins.time,ins.instruction),
|
_=>println!("{}|{:?}",ins.time,ins.instruction),
|
||||||
}
|
}
|
||||||
if ins.time<state.time{
|
if ins.time<state.time{
|
||||||
println!("@@@@ Time travel warning! {:?}",ins);
|
println!("@@@@ Time travel warning! state.time={} ins.time={}\nInstruction={:?}",state.time,ins.time,ins.instruction);
|
||||||
}
|
}
|
||||||
//idle is special, it is specifically a no-op to get Internal events to catch up to real time
|
//idle is special, it is specifically a no-op to get Internal events to catch up to real time
|
||||||
match ins.instruction{
|
match ins.instruction{
|
||||||
|
Loading…
Reference in New Issue
Block a user