From 1c596f2ff2336dafa999ee46dd14a47ac8f0d66f Mon Sep 17 00:00:00 2001 From: alex-gh Date: Sun, 2 Mar 2014 04:41:06 +0100 Subject: [PATCH] Despawning in cryo pods no longer prematurely end rev rounds. --- code/game/machinery/cryopod.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm index 3a0de6a800..96f7bd4d64 100644 --- a/code/game/machinery/cryopod.dm +++ b/code/game/machinery/cryopod.dm @@ -211,7 +211,7 @@ obj/machinery/computer/cryopod/Topic(href, href_list) //Update any existing objectives involving this mob. for(var/datum/objective/O in all_objectives) - if(istype(O,/datum/objective/mutiny)) //We don't want revs to get objectives that aren't for heads of staff. Letting them win or lose based on cryo is silly so we remove the objective. + if(istype(O,/datum/objective/mutiny) && O.target == occupant.mind) //We don't want revs to get objectives that aren't for heads of staff. Letting them win or lose based on cryo is silly so we remove the objective. del(O) //TODO: Update rev objectives on login by head (may happen already?) ~ Z else if(O.target && istype(O.target,/datum/mind)) if(O.target == occupant.mind)