mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-25 08:09:47 +01:00
perf(physics): road vehicles farther than 1 km from the camera go by one step of the physics in a frame (physics.roadlod); count what resets the switching time of the vehicles (compressor, mains, diesel, physics woken) in the debug panel
This commit is contained in:
@@ -436,6 +436,7 @@ bool driver_mode::update()
|
||||
Timer::subsystem.sim_total.stop();
|
||||
// the parts of the vehicle update made in the frame, none when paused
|
||||
Timer::subsystem.commit_frame();
|
||||
Timer::subsystem.switching.update();
|
||||
|
||||
Timer::subsystem.loop_audio.start();
|
||||
simulation::Region->update_sounds();
|
||||
|
||||
Reference in New Issue
Block a user