This commit is contained in:
alexkar598
2018-03-20 17:26:32 -04:00
committed by GitHub
parent 13d02eb490
commit df70fc1b6d
+1 -1
View File
@@ -36,7 +36,7 @@
/obj/item/weapon/melee/baton/proc/deductcharge(var/chrgdeductamt)
if(bcell)
if(bcell.charge < (hitcost+chrgdeductamt)) // If after the deduction the baton doesn't have enough charge for a stun hit it turns off.
if(bcell.charge <= (hitcost+chrgdeductamt)) // If after the deduction the baton doesn't have enough charge for a stun hit it turns off.
status = 0
update_icon()
playsound(loc, "sparks", 75, 1, -1)