Add an equivalent to balloon_alert_to_viewers, but for hearing (#95376)

This commit is contained in:
Cody Brittain
2026-03-17 17:28:27 -04:00
committed by GitHub
parent 2ba464b013
commit 965c4a40a9
9 changed files with 23 additions and 9 deletions
@@ -472,7 +472,7 @@
/obj/item/gun/ballistic/automatic/battle_rifle/process_fire(atom/target, mob/living/user, message = TRUE, params = null, zone_override = "", bonus_spread = 0)
if(chambered.loaded_projectile && prob(75) && (emp_malfunction || degradation_stage == degradation_stage_max))
balloon_alert_to_viewers("*click*")
balloon_alert_to_hearers("*click*")
playsound(src, dry_fire_sound, dry_fire_sound_volume, TRUE)
return