Merge pull request #30481 from YPOQ/shuntfix

Placing a robotics factory actually disables shunting
This commit is contained in:
Jordan Brown
2017-09-08 22:24:40 -04:00
committed by CitadelStationBot
parent d35717e1ab
commit 5b61c84df4
@@ -672,7 +672,7 @@ GLOBAL_LIST_INIT(blacklisted_malf_machines, typecacheof(list(
var/obj/machinery/transformer/conveyor = new(T)
conveyor.masterAI = owner
playsound(T, 'sound/effects/phasein.ogg', 100, 1)
owner_AI.can_shunt = TRUE
owner_AI.can_shunt = FALSE
to_chat(owner, "<span class='warning'>You are no longer able to shunt your core to APCs.</span>")
adjust_uses(-1)