Despawning in cryo pods no longer prematurely end rev rounds.

This commit is contained in:
alex-gh
2014-03-02 04:41:06 +01:00
parent d94e032861
commit 1c596f2ff2

View File

@@ -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)