16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-17 23:39:18 +02:00

Merge pull request #128 from dos1/first-frame-pause

drivermode: Make sure to draw the first frame before pausing
This commit is contained in:
2026-07-02 09:58:05 +02:00
committed by GitHub

View File

@@ -171,7 +171,7 @@ bool driver_mode::update()
simulation::State.update_scripting_interface();
simulation::Environment.update();
if (deltatime != 0.0)
if (deltatime != 0.0 || false == simulation::is_ready)
{
// jak pauza, to nie ma po co tego przeliczać
simulation::Time.update(deltatime);