From c5db7535b8c3b40879e8a6d3c7feb80108d1c53b Mon Sep 17 00:00:00 2001 From: Wiktor Mazur Date: Fri, 13 Mar 2020 19:03:07 +0100 Subject: [PATCH] Fixed: time update --- application/src/stats/time_stats.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/src/stats/time_stats.py b/application/src/stats/time_stats.py index dd0ec62..b74fc6c 100644 --- a/application/src/stats/time_stats.py +++ b/application/src/stats/time_stats.py @@ -23,4 +23,5 @@ class TimeStats(Stats): return TimeStats(time=other.time) def update(self, other): - self.time = other.time + if other.time < self.time: + self.time = other.time