From: āda Date: Tue, 3 Jun 2025 15:55:15 +0000 (-0500) Subject: Loc fix for emote guidebook (#38020) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=b6af2dbaf817aa4281a09386e10d2e8e67a3a673;p=space-station-14.git Loc fix for emote guidebook (#38020) Loc fix --- diff --git a/Content.Shared/EntityEffects/Effects/Emote.cs b/Content.Shared/EntityEffects/Effects/Emote.cs index 08cf58c39a..494dc502f5 100644 --- a/Content.Shared/EntityEffects/Effects/Emote.cs +++ b/Content.Shared/EntityEffects/Effects/Emote.cs @@ -38,6 +38,7 @@ public sealed partial class Emote : EventEntityEffect if (!ShowInGuidebook) return null; // JUSTIFICATION: Emoting is mostly flavor, so same reason popup messages are not in here. - return Loc.GetString("reagent-effect-guidebook-emote", ("chance", Probability), ("emote", EmoteId)); + var emotePrototype = prototype.Index(EmoteId); + return Loc.GetString("reagent-effect-guidebook-emote", ("chance", Probability), ("emote", Loc.GetString(emotePrototype.Name))); } }