Fixes cloner sabotage to only check on station Z (#12140)

This commit is contained in:
Putnam3145
2020-05-08 06:48:23 -07:00
committed by GitHub
parent 61692f290a
commit 602154abe8
+4 -1
View File
@@ -90,7 +90,10 @@
sabotage_type = "cloner"
/datum/sabotage_objective/cloner/check_conditions()
return !(locate(/obj/machinery/clonepod) in GLOB.machines)
for(var/obj/machinery/clonepod/cloner in GLOB.machines)
if(is_station_level(cloner.z))
return FALSE
return TRUE
/datum/sabotage_objective/ai_law
name = "Upload a hacked law to the AI."