Merge pull request #6080 from VOREStation/Verkister-patch-12

Fixes runtime spam on unequipped sleeperbellies
This commit is contained in:
Novacat
2019-10-19 12:02:34 -04:00
committed by GitHub
@@ -172,6 +172,8 @@
/obj/item/device/dogborg/sleeper/proc/drain(var/amt = 3) //Slightly reduced cost (before, it was always injecting inaprov)
hound = src.loc
if(istype(hound,/obj/item/weapon/robot_module))
hound = hound.loc
hound.cell.charge = hound.cell.charge - amt
/obj/item/device/dogborg/sleeper/attack_self(mob/user)