Skip to content

Commit

Permalink
Фиксим то, почему люди во сне видят ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Noname995 authored and Wyderar committed Aug 5, 2024
1 parent e0a89d4 commit c6c63d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/modules/mob/hear_say.dm
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@
var/list/messages = splittext(message, " ")
var/R = rand(1, messages.len)
var/heardword = messages[R]
if(copytext(heardword,1, 1) in punctuation)
heardword = copytext(heardword,2)
if(copytext(heardword,-1) in punctuation)
heardword = copytext(heardword,1,length(heardword))
if(copytext_char(heardword,1, 1) in punctuation)
heardword = copytext_char(heardword,2)
if(copytext_char(heardword,-1) in punctuation)
heardword = copytext_char(heardword,1,length(heardword))
heard = SPAN_LOCALSAY("...You hear something about...[heardword]")

else
Expand Down

0 comments on commit c6c63d7

Please sign in to comment.