Makes the borg spawner and the contract a subtype of antag_spawner

This commit is contained in:
VistaPOWA
2014-01-05 21:32:43 +01:00
parent 2dcde243f3
commit 74f2edcb56
7 changed files with 150 additions and 142 deletions
+2 -2
View File
@@ -163,8 +163,8 @@ A list of items and costs is stored under the datum of every game mode, alongsid
return 0
//Refund proc for the borg teleporter (later I'll make a general refund proc if there is demand for it)
/obj/item/device/radio/uplink/attackby(obj/item/weapon/W as obj, mob/user as mob)
if(istype(W, /obj/item/weapon/syndieborg_teleport))
var/obj/item/weapon/syndieborg_teleport/S = W
if(istype(W, /obj/item/weapon/antag_spawner/borg_tele))
var/obj/item/weapon/antag_spawner/borg_tele/S = W
if(!S.used)
hidden_uplink.uses += S.TC_cost
del(S)