From 337b0bedc302a720cc8de101859e0142642e25d7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 17 May 2022 11:35:14 +0100 Subject: Only give timers a trigger time when they're actually registered. --- include/timer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/timer.h') diff --git a/include/timer.h b/include/timer.h index 3a0127b7d..593aa4d76 100644 --- a/include/timer.h +++ b/include/timer.h @@ -63,8 +63,7 @@ public: */ virtual ~Timer(); - /** Retrieve the current triggering time - */ + /** Retrieves the time at which this timer will tick next. If the timer is not active then 0 will be returned. */ time_t GetTrigger() const { return trigger; -- cgit v1.3.1-10-gc9f91