Fix Time::Synchronize to not reset time on unpause
This commit is contained in:
@@ -163,7 +163,7 @@ namespace FlaxEditor.States
|
||||
IsPlayModeStarting = false;
|
||||
Profiler.EndEvent();
|
||||
|
||||
Time.Synchronize();
|
||||
Time.Synchronize(true);
|
||||
}
|
||||
|
||||
private void SetupEditorEnvOptions()
|
||||
@@ -213,7 +213,7 @@ namespace FlaxEditor.States
|
||||
IsPlayModeEnding = false;
|
||||
Profiler.EndEvent();
|
||||
|
||||
Time.Synchronize();
|
||||
Time.Synchronize(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user