Update weaponized.dm

This commit is contained in:
silicons
2020-07-23 18:49:49 -07:00
parent 08f905f5bc
commit bb32f183ff

View File

@@ -45,6 +45,9 @@
/obj/item/integrated_circuit/weaponized/weapon_firing/attackby(var/obj/O, var/mob/user)
if(istype(O, /obj/item/gun/energy))
var/obj/item/gun/gun = O
if(!gun.can_circuit)
to_chat(user, "<span class='warning'>[gun] does not fit into circuits.</span>")
return
if(installed_gun)
to_chat(user, "<span class='warning'>There's already a weapon installed.</span>")
return