Merge pull request #12883 from Citadel-Station-13/silicons-patch-49

beam rifles are now practical in emitters
This commit is contained in:
Lin
2020-07-28 22:05:39 -05:00
committed by GitHub
5 changed files with 22 additions and 4 deletions
@@ -79,6 +79,9 @@
if(PTURRET_INTERNAL_ARMOUR_ON)
if(istype(I, /obj/item/gun/energy)) //the gun installation part
var/obj/item/gun/energy/E = I
if(!E.can_turret)
to_chat(user, "<span class='warning'>[src] can't be fit into turrets.</span>")
return
if(!user.transferItemToLoc(E, src))
return
installed_gun = E