mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Fixes runtime spam on unequipped sleeperbellies
This commit is contained in:
@@ -172,6 +172,8 @@
|
|||||||
|
|
||||||
/obj/item/device/dogborg/sleeper/proc/drain(var/amt = 3) //Slightly reduced cost (before, it was always injecting inaprov)
|
/obj/item/device/dogborg/sleeper/proc/drain(var/amt = 3) //Slightly reduced cost (before, it was always injecting inaprov)
|
||||||
hound = src.loc
|
hound = src.loc
|
||||||
|
if(istype(hound,/obj/item/weapon/robot_module))
|
||||||
|
hound = hound.loc
|
||||||
hound.cell.charge = hound.cell.charge - amt
|
hound.cell.charge = hound.cell.charge - amt
|
||||||
|
|
||||||
/obj/item/device/dogborg/sleeper/attack_self(mob/user)
|
/obj/item/device/dogborg/sleeper/attack_self(mob/user)
|
||||||
|
|||||||
Reference in New Issue
Block a user