Loc fix for emote guidebook (#38020)

Loc fix
This commit is contained in:
āda
2025-06-03 10:55:15 -05:00
committed by GitHub
parent 9dd0855dd0
commit b6af2dbaf8

View File

@@ -38,6 +38,7 @@ public sealed partial class Emote : EventEntityEffect<Emote>
if (!ShowInGuidebook) if (!ShowInGuidebook)
return null; // JUSTIFICATION: Emoting is mostly flavor, so same reason popup messages are not in here. 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<EmotePrototype>(EmoteId);
return Loc.GetString("reagent-effect-guidebook-emote", ("chance", Probability), ("emote", Loc.GetString(emotePrototype.Name)));
} }
} }