From 889b7eca8d40afbd34b0e49ae53fc33d53f51dfb Mon Sep 17 00:00:00 2001 From: Heroman Date: Tue, 13 Sep 2022 18:41:26 +1000 Subject: [PATCH] Fixes runtime with admin spice --- code/modules/admin/verbs/adminhelp_vr.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/verbs/adminhelp_vr.dm b/code/modules/admin/verbs/adminhelp_vr.dm index 9d66223b66..d6bdb37f21 100644 --- a/code/modules/admin/verbs/adminhelp_vr.dm +++ b/code/modules/admin/verbs/adminhelp_vr.dm @@ -34,5 +34,6 @@ //if they requested spice, then remove spice verb temporarily to prevent spamming usr.verbs -= /client/verb/adminspice - spawn(6000) - usr.verbs += /client/verb/adminspice // 10 minute cool-down for spice request + spawn(10 MINUTES) + if(usr) // In case we left in the 10 minute cooldown + usr.verbs += /client/verb/adminspice // 10 minute cool-down for spice request