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

drivermode: Make sure to draw the first frame before pausing

Otherwise the screen stays empty when the game is launched paused.
This commit is contained in:
Sebastian Krzyszkowiak
2026-07-02 07:15:59 +02:00
parent 80c3feac03
commit f8339d9bfb

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);