From 5c32bf4c7cabe7f531e5fd0ec8cba03427d9bb42 Mon Sep 17 00:00:00 2001 From: moxian Date: Mon, 9 Nov 2020 07:05:12 +0000 Subject: [PATCH] Fix typo in objection selection. Stop giving dead people as objectives. --- 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 0b46264cb33..f3d5f1f2737 100644 --- a/code/game/gamemodes/objective.dm +++ b/code/game/gamemodes/objective.dm @@ -29,7 +29,7 @@ GLOBAL_LIST_INIT(potential_theft_objectives, (subtypesof(/datum/theft_objective) return TARGET_INVALID_IS_TARGET if(!ishuman(possible_target.current)) return TARGET_INVALID_NOT_HUMAN - if(!possible_target.current.stat == DEAD) + if(possible_target.current.stat == DEAD) return TARGET_INVALID_DEAD if(!possible_target.key) return TARGET_INVALID_NOCKEY