Skip to content

Commit

Permalink
Добавляем комментарии
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRomainzZ committed Nov 27, 2023
1 parent ec1f50f commit 60489c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/tgui/tgui_datum.dm
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,14 @@
src.interface = interface

if(title)

// SS220 EDIT - START
if(findtext_char(title, regex(@"[А-Яа-я]")))
src.title = capitalize(sanitize(title, list("\proper"="", "\improper"="")))
else
src.title = sanitize(title)
// SS220 EDIT -END

if(width)
src.width = width
if(height)
Expand Down

0 comments on commit 60489c5

Please sign in to comment.