ckeyless humans don't get to be shot

This commit is contained in:
Mieszko Jędrzejczak
2016-09-26 17:43:57 +02:00
parent 4a0c9f7e74
commit 56d56ffe7f
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -35,6 +35,8 @@ var/list/potential_theft_objectives = subtypesof(/datum/theft_objective) \
return TARGET_INVALID_NOT_HUMAN
if(!possible_target.current.stat == DEAD)
return TARGET_INVALID_DEAD
if(possible_target.key == null)
return TARGET_INVALID_NOCKEY
/datum/objective/proc/find_target()
var/list/possible_targets = list()