diff --git a/src/Main/fgfs.cxx b/src/Main/fgfs.cxx index 199769326..46bb96ef6 100644 --- a/src/Main/fgfs.cxx +++ b/src/Main/fgfs.cxx @@ -226,8 +226,8 @@ FGSubsystemGroup::Member::update (double delta_time_sec) elapsed_sec += delta_time_sec; if (elapsed_sec >= min_step_sec) { if (!subsystem->is_suspended()) { - subsystem->update(delta_time_sec); - elapsed_sec -= min_step_sec; + subsystem->update(elapsed_sec); + elapsed_sec = 0; } } }