From a84b025487883563ce17f9b2e5ae3c2029a0ed78 Mon Sep 17 00:00:00 2001 From: SurFlurer <22912139+SurFlurer@users.noreply.github.com> Date: Wed, 28 Jun 2023 02:00:12 +0000 Subject: [PATCH] Update vehicle's last_update timepoint every turn --- src/vehicle.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 431ae548531a0..6c88ee5026bf6 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -7492,10 +7492,6 @@ void vehicle::update_time( const time_point &update_to ) return; } - if( update_to >= update_from && update_to - update_from < 1_minutes ) { - // We don't need to check every turn - return; - } time_duration elapsed = update_to - last_update; last_update = update_to;