mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +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)
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user