Skip to content

Commit

Permalink
[MIRROR] fixes thermal pistols doing literally nothing on impact [MDB…
Browse files Browse the repository at this point in the history
… IGNORE] (#24567) (#270)

* fixes thermal pistols doing literally nothing on impact (#79175)

## About The Pull Request

Fixes tgstation/tgstation#79167

## Why It's Good For The Game

refactors sometimes overlook things

## Changelog
:cl:
fix: The nanites inside of thermal pistols are once again angry, and
aggressively want to burn/puncture people.
/:cl:

* fixes thermal pistols doing literally nothing on impact

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: necromanceranne <[email protected]>
  • Loading branch information
3 people authored Oct 25, 2023
1 parent 57a022e commit 34ab06d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/modules/projectiles/projectile/energy/thermal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
bare_wound_bonus = 10
impact_effect_type = /obj/effect/temp_visual/impact_effect/red_laser

/obj/projectile/energy/inferno/on_hit(atom/target, blocked, pierce_hit)
..()
/obj/projectile/energy/inferno/on_hit(atom/target, blocked = 0, pierce_hit)
. = ..()
if(!ishuman(target))
return

Expand All @@ -35,8 +35,8 @@
wound_bonus = 0
bare_wound_bonus = 10

/obj/projectile/energy/cryo/on_hit(atom/target, blocked, pierce_hit)
..()
/obj/projectile/energy/cryo/on_hit(atom/target, blocked = 0, pierce_hit)
. = ..()
if(!ishuman(target))
return

Expand Down

0 comments on commit 34ab06d

Please sign in to comment.