Skip to content

Commit

Permalink
Revert "fixes offcenter shields"
Browse files Browse the repository at this point in the history
This reverts commit a0489f0.
  • Loading branch information
Pockets-byte committed Jun 8, 2024
1 parent 6579bf8 commit 27dbb26
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions nsv13/code/modules/overmap/weapons/damage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,7 @@ Bullet reactions
blocked = TRUE
damage_sound = pick('nsv13/sound/effects/ship/damage/shield_hit.ogg', 'nsv13/sound/effects/ship/damage/shield_hit2.ogg')
if(!impact_sound_cooldown)
var/obj/effect/temp_visual/overmap_shield_hit/E = new /obj/effect/temp_visual/overmap_shield_hit(get_turf(src), src)
add_overlay(E)
E.pixel_y = pixel_y
E.pixel_x = pixel_x
add_overlay(new /obj/effect/temp_visual/overmap_shield_hit(get_turf(src), src))
if(!impact_sound_cooldown && damage_sound)
relay(damage_sound)
if(damage_amount >= 15) //Flak begone
Expand Down

0 comments on commit 27dbb26

Please sign in to comment.