mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-17 22:39:17 +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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user