From 9bbf63c75b0c8cd0d43d6a37c220ef44cd53d112 Mon Sep 17 00:00:00 2001 From: TemporalOroboros Date: Tue, 3 Aug 2021 00:16:22 -0700 Subject: [PATCH] Fixes rad collector ignoring access requirements for locking. (#60656) --- code/modules/power/singularity/collector.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/power/singularity/collector.dm b/code/modules/power/singularity/collector.dm index bbe1b946922..556cbdc0f38 100644 --- a/code/modules/power/singularity/collector.dm +++ b/code/modules/power/singularity/collector.dm @@ -111,6 +111,7 @@ else if(item.GetID()) if(!allowed(user)) to_chat(user, span_danger("Access denied.")) + return TRUE if(!active) to_chat(user, span_warning("The controls can only be locked when \the [src] is active!")) return TRUE