Restores the uplink modules, removes LoadComponents

This commit is contained in:
oranges
2017-12-11 09:14:24 +13:00
committed by CitadelStationBot
parent e18457f92e
commit d88bff9fa9
9 changed files with 123 additions and 37 deletions
@@ -95,7 +95,7 @@
to_chat(U, "<span class='notice'>Virus Sent! The unlock code to the target is: [lock_code]</span>")
GET_COMPONENT_FROM(hidden_uplink, /datum/component/uplink, target)
if(!hidden_uplink)
hidden_uplink = target.LoadComponent(/datum/component/uplink)
hidden_uplink = target.AddComponent(/datum/component/uplink)
target.lock_code = lock_code
else
hidden_uplink.hidden_crystals += hidden_uplink.telecrystals //Temporarially hide the PDA's crystals, so you can't steal telecrystals.