mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Makes the borg spawner and the contract a subtype of antag_spawner
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user