From f5990cfe35f4ce3c82bcdbbebbf848986e672664 Mon Sep 17 00:00:00 2001 From: Little-119 Date: Wed, 6 May 2020 17:50:54 -0400 Subject: [PATCH] Fix cooldown math while I'm here --- code/modules/power/apc.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/power/apc.dm b/code/modules/power/apc.dm index 45a3f0a012..33228c52f5 100644 --- a/code/modules/power/apc.dm +++ b/code/modules/power/apc.dm @@ -928,7 +928,7 @@ return 1 if(href_list["nightshift"]) - if(last_nightshift_switch > world.time + 10 SECONDS) // don't spam... + if(last_nightshift_switch > world.time - 10 SECONDS) // don't spam... to_chat(usr, "[src]'s night lighting circuit breaker is still cycling!") return 0 last_nightshift_switch = world.time