Fixes inducers not working on some stuff due to missing get_cell() checks

This commit is contained in:
ShizCalev
2020-07-03 01:13:07 -04:00
parent 8d08014e08
commit c9b87df67e
5 changed files with 16 additions and 5 deletions
@@ -7,6 +7,9 @@
var/obj/item/stock_parts/cell/battery = null
device_type = MC_CELL
/obj/item/computer_hardware/battery/get_cell()
return battery
/obj/item/computer_hardware/battery/New(loc, battery_type = null)
if(battery_type)
battery = new battery_type(src)