mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-25 08:09:47 +01:00
perf(physics): vehicles standing still and held by their brakes let their physics sleep (physics.sleepheld)
This commit is contained in:
@@ -1513,6 +1513,8 @@ debug_panel::render_section_renderer() {
|
||||
}
|
||||
ImGui::PopTextWrapPos();
|
||||
ImGui::PopStyleColor();
|
||||
// the physics of the vehicles, timed in the section of the main loop
|
||||
ImGui::Checkbox( "let vehicles standing still and held by their brakes sleep (physics.sleepheld)", &Global.physics_sleepheld );
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user