From 855d5da2bf98da76cdc0371bef71035a605cf1ae Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 3 Aug 2021 21:03:46 +0200 Subject: [PATCH] [MIRROR] Signals fire world.time (#7326) * Signals fire world.time (#60603) * Signals fire world.time Co-authored-by: Gurkenglas --- code/__DEFINES/wiremod.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/__DEFINES/wiremod.dm b/code/__DEFINES/wiremod.dm index a34ce29423b..cdfd15c0e4c 100644 --- a/code/__DEFINES/wiremod.dm +++ b/code/__DEFINES/wiremod.dm @@ -48,8 +48,8 @@ // Components -/// The value that is sent whenever a component is simply sending a signal. This can be anything. -#define COMPONENT_SIGNAL 1 +/// The value that is sent whenever a component is simply sending a signal. This can be anything, and is currently the seconds since roundstart. +#define COMPONENT_SIGNAL (world.time / (1 SECONDS)) // Comparison defines #define COMP_COMPARISON_EQUAL "="