Skip to content

Commit

Permalink
C4 ex_act tweak (#16278)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumipharon committed Jul 9, 2024
1 parent b68e468 commit 6bd83fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/game/objects/items/explosives/plastique.dm
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@
update_icon()
return ..()

/obj/item/explosive/plastique/ex_act(severity)
if(QDELETED(src))
return
if(severity == EXPLODE_DEVASTATE)
take_damage(INFINITY, BRUTE, BOMB, 0)

///Handles the actual explosion effects
/obj/item/explosive/plastique/proc/detonate()
if(QDELETED(plant_target))
Expand Down

0 comments on commit 6bd83fc

Please sign in to comment.