Skip to content

Commit

Permalink
Fueltank runtime (#16262)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumipharon authored Jul 6, 2024
1 parent 007c427 commit e3bb35e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/game/objects/structures/reagent_dispensers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,10 @@
/obj/structure/reagent_dispensers/fueltank/bullet_act(obj/projectile/Proj)
if(exploding)
return FALSE

. = ..()

if(Proj.damage > 10 && prob(60) && (Proj.ammo.damage_type in list(BRUTE, BURN)))
log_attack("[key_name(Proj.firer)] detonated a fuel tank with a projectile at [AREACOORD(src)].")
explode()
return ..()

/obj/structure/reagent_dispensers/fueltank/ex_act()
explode()
Expand Down

0 comments on commit e3bb35e

Please sign in to comment.