Merge pull request #37364 from Jalleo/Inducer_change

Removes the ability for inducers and circuits to charge energy weapons.
This commit is contained in:
Jordan Brown
2018-04-23 09:49:03 -04:00
committed by CitadelStationBot
parent 3044f3ad3a
commit e52fafcbb7
2 changed files with 4 additions and 7 deletions
@@ -40,6 +40,8 @@
var/atom/movable/AM = get_pin_data_as_type(IC_INPUT, 1, /atom/movable)
if(!AM)
return FALSE
if(istype(AM, /obj/item/gun/energy))
return FALSE
if(!assembly)
return FALSE // Pointless to do everything else if there's no battery to draw from.
var/obj/item/stock_parts/cell/cell = AM.get_cell()