From 70809e5bf28cd018a8efbf6a20c8b42e941b2582 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sat, 13 Jan 2018 18:22:51 -0500 Subject: [PATCH] Updates TIMER_UNIQUE documentation (#34328) --- code/__DEFINES/subsystems.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/__DEFINES/subsystems.dm b/code/__DEFINES/subsystems.dm index d7a3d9e4df6..6e16a25bcb4 100644 --- a/code/__DEFINES/subsystems.dm +++ b/code/__DEFINES/subsystems.dm @@ -5,6 +5,7 @@ //Timing subsystem //Don't run if there is an identical unique timer active +//if the arguments to addtimer are the same as an existing timer, it doesn't create a new timer, and returns the id of the existing timer #define TIMER_UNIQUE 0x1 //For unique timers: Replace the old timer rather then not start this one #define TIMER_OVERRIDE 0x2 @@ -141,4 +142,4 @@ A.overlays.Cut();\ }\ A.flags_1 &= ~OVERLAY_QUEUED_1;\ - } \ No newline at end of file + }