From effea9f6793d85c63b4d4b14bb5d8d8297c7767f Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sat, 13 Jan 2018 18:22:51 -0500 Subject: [PATCH 1/2] 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 dcabb26e23..4773cf0664 100644 --- a/code/__DEFINES/subsystems.dm +++ b/code/__DEFINES/subsystems.dm @@ -1,6 +1,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 @@ -137,4 +138,4 @@ A.overlays.Cut();\ }\ A.flags_1 &= ~OVERLAY_QUEUED_1;\ - } \ No newline at end of file + }