Merge pull request #2672 from Citadel-Station-13/upstream-merge-30481

[MIRROR] Placing a robotics factory actually disables shunting
This commit is contained in:
LetterJay
2017-09-09 01:05:54 -05:00
committed by GitHub

View File

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