Skip to content

Commit

Permalink
Fixes out of breath whispering (UristMcStation#1255)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naxodile authored Oct 3, 2023
1 parent ddbbdfa commit 293f8ca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions code/modules/mob/living/carbon/human/say.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@
to_chat(src, SPAN_WARNING("You don't have enough air[L ? " in [L]" : ""] to make a sound!"))
return
else if(L.breath_fail_ratio > 0.3)
whisper_say(length(message) > 5 ? stars(message) : message, speaking)
return
return ..(length(message) > 5 ? stars(message) : message, speaking, whispering = TRUE)
else if(L.breath_fail_ratio > 0.15 && length(message) > 10)
whisper_say(message, speaking)
return
return ..(message, speaking, whispering = TRUE)
return ..(message, speaking = speaking, whispering = whispering)


Expand Down

0 comments on commit 293f8ca

Please sign in to comment.