Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
larentoun committed Oct 18, 2023
1 parent ed91594 commit 9fc4cc5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
9 changes: 6 additions & 3 deletions modular_ss220/emotes/code/emote_panel_names.dm
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
/datum/emote/living/sigh
name = "вздохнуть"

/datum/emote/living/sigh/happy
name = "удовлетворённо вздохнуть"

/datum/emote/living/sit
name = "сесть"

Expand Down Expand Up @@ -205,10 +208,10 @@
name = "побулькать"

/datum/emote/living/carbon/inhale
name = "вздохнуть"
name = "вдохнуть"

/datum/emote/living/carbon/inhale
name = "удовлетвореноо вздохнуть"
/datum/emote/living/carbon/inhale/sharp
name = "глубоко вдохнуть"

/datum/emote/living/carbon/kiss
name = "поцеловать"
Expand Down
3 changes: 1 addition & 2 deletions tgui/packages/tgui/interfaces/EmotePanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ export const EmotePanelContent = (props, context) => {
<Flex.Item>
{emotes
.filter(emote => emote.key &&
((searchText.length > 0 ? emote.key.toLowerCase().includes(searchText.toLowerCase()) : true) ||
(searchText.length > 0 ? emote.name.toLowerCase().includes(searchText.toLowerCase()) : true)) &&
(searchText.length > 0 ? (emote.key.toLowerCase().includes(searchText.toLowerCase()) || emote.name.toLowerCase().includes(searchText.toLowerCase())) : true) &&
(filterVisible ? emote.visible : true) &&
(filterAudible ? emote.audible : true) &&
(filterSound ? emote.sound : true) &&
Expand Down
4 changes: 4 additions & 0 deletions tgui/packages/tgui/public/tgui.bundle.js

Large diffs are not rendered by default.

0 comments on commit 9fc4cc5

Please sign in to comment.