mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 19:47:47 +01:00
Fixes dogborg cell lick recharge.
It was using the cell's maxcharge instead of actual charge, meaning that even empty cells would give charge and overcharged cells were completely ignored.
This commit is contained in:
@@ -243,7 +243,7 @@
|
||||
to_chat(user, "<span class='notice'>You finish off \the [target.name], and gain some charge!</span>")
|
||||
var/mob/living/silicon/robot/R = user
|
||||
var/obj/item/weapon/cell/C = target
|
||||
R.cell.charge += C.maxcharge / 3
|
||||
R.cell.charge += C.charge / 3
|
||||
water.use_charge(5)
|
||||
qdel(target)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user