From 503287d89a9455fa0d378b747f8739748cd42579 Mon Sep 17 00:00:00 2001 From: FlattestGuitar Date: Fri, 30 Sep 2016 17:10:26 +0200 Subject: [PATCH] adresses things --- code/game/gamemodes/objective.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/gamemodes/objective.dm b/code/game/gamemodes/objective.dm index 743abff0d27..b75c596bbb8 100644 --- a/code/game/gamemodes/objective.dm +++ b/code/game/gamemodes/objective.dm @@ -35,7 +35,7 @@ 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) + if(!possible_target.key) return TARGET_INVALID_NOCKEY /datum/objective/proc/find_target()