mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-10 23:47:08 +01:00
Adds "apprehended" status to cuffed/brigged antags at end of round (#10302)
This commit is contained in:
+3
-2
@@ -459,11 +459,12 @@
|
||||
// have to call this periodically for the duration to work properly
|
||||
/datum/mind/proc/is_brigged(duration)
|
||||
var/turf/T = current.loc
|
||||
if(!istype(T))
|
||||
if(isnull(T))
|
||||
brigged_since = -1
|
||||
return 0
|
||||
var/area/A = T.loc
|
||||
var/is_currently_brigged = 0
|
||||
if(istype(T.loc,/area/security/brig))
|
||||
if(A?.is_prison())
|
||||
is_currently_brigged = 1
|
||||
for(var/obj/item/card/id/card in current)
|
||||
is_currently_brigged = 0
|
||||
|
||||
Reference in New Issue
Block a user