Gun safeties stop suicides.(#8451)

This commit is contained in:
Doxxmedearly
2020-03-15 23:01:43 -05:00
committed by GitHub
parent 37ad3fa55a
commit bdf7df65cf
2 changed files with 18 additions and 0 deletions

View File

@@ -503,6 +503,11 @@
user.visible_message(span("warning", "*click click*"))
mouthshoot = FALSE
return
if(safety() && user.a_intent != I_HURT)
user.visible_message(SPAN_WARNING("The safety was on. How anticlimatic!"))
handle_click_empty(user)
mouthshoot = FALSE
return
if(silenced)
playsound(user, fire_sound, 10, 1)
else