Fixes some antag datum related issues (#17351)

This commit is contained in:
SteelSlayer
2022-01-21 19:01:28 +01:00
committed by GitHub
parent 8334b65979
commit 9dccbc196e
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -1515,8 +1515,7 @@
/datum/mind/proc/has_antag_datum(datum_type, check_subtypes = TRUE)
if(!datum_type)
return FALSE
. = FALSE
return
for(var/a in antag_datums)
var/datum/antagonist/A = a
if(check_subtypes && istype(A, datum_type))