mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 15:09:19 +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:
@@ -171,7 +171,7 @@ bool driver_mode::update()
|
|||||||
simulation::State.update_scripting_interface();
|
simulation::State.update_scripting_interface();
|
||||||
simulation::Environment.update();
|
simulation::Environment.update();
|
||||||
|
|
||||||
if (deltatime != 0.0)
|
if (deltatime != 0.0 || false == simulation::is_ready)
|
||||||
{
|
{
|
||||||
// jak pauza, to nie ma po co tego przeliczać
|
// jak pauza, to nie ma po co tego przeliczać
|
||||||
simulation::Time.update(deltatime);
|
simulation::Time.update(deltatime);
|
||||||
|
|||||||
Reference in New Issue
Block a user