Merge pull request #12883 from Citadel-Station-13/silicons-patch-49
beam rifles are now practical in emitters
This commit is contained in:
@@ -315,6 +315,9 @@
|
||||
|
||||
/obj/machinery/power/emitter/proc/integrate(obj/item/gun/energy/E,mob/user)
|
||||
if(istype(E, /obj/item/gun/energy))
|
||||
if(!E.can_emitter)
|
||||
to_chat(user, "<span class='warning'>[E] cannot fit into emitters.</span>")
|
||||
return
|
||||
if(!user.transferItemToLoc(E, src))
|
||||
return
|
||||
gun = E
|
||||
|
||||
Reference in New Issue
Block a user