mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
Defibs now shock people giving CPR (#23257)
* defibs now shock people giving CPR * use isnull instead * humanoid like me
This commit is contained in:
@@ -304,6 +304,10 @@
|
||||
for(var/obj/item/grab/G in target.grabbed_by)
|
||||
if(ishuman(G.assailant))
|
||||
excess_shock(user, target, G.assailant, defib_ref)
|
||||
if(target.receiving_cpr_from)
|
||||
var/mob/living/carbon/human/H = locateUID(target.receiving_cpr_from)
|
||||
if(istype(H))
|
||||
excess_shock(user, target, H, defib_ref)
|
||||
|
||||
target.med_hud_set_health()
|
||||
target.med_hud_set_status()
|
||||
|
||||
Reference in New Issue
Block a user