summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--economy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/economy.c b/economy.c
index 62b63e24a..283bf3386 100644
--- a/economy.c
+++ b/economy.c
@@ -1360,6 +1360,8 @@ int LoadUnloadVehicle(Vehicle *v)
if (v->cargo_count != 0) {
if (v->cargo_source != last_visited && ge->waiting_acceptance & 0x8000) {
// deliver goods to the station
+ st->time_since_unload = 0;
+
unloading_time += v->cargo_count; /* TTDBUG: bug in original TTD */
profit += DeliverGoods(v->cargo_count, v->cargo_type, v->cargo_source, last_visited, v->cargo_days);
result |= 1;