Replaced datacore mob reference with a mind reference

This commit is contained in:
Ian Turk
2017-08-30 17:05:31 -06:00
parent 2580b81465
commit 246b50bd4e
3 changed files with 7 additions and 6 deletions
+3 -3
View File
@@ -27,9 +27,9 @@
. = list()
for(var/V in GLOB.data_core.locked)
var/datum/data/record/R = V
var/mob/M = R.fields["reference"]
if(M && M.mind)
. += M.mind
var/datum/mind/M = R.fields["mindref"]
if(M)
. += M
/datum/objective/proc/find_target()
var/list/possible_targets = list()