diff --git a/Content.Shared/Botany/PlantAnalyzer/PlantAnalyzerLocalizationHelper.cs b/Content.Shared/Botany/PlantAnalyzer/PlantAnalyzerLocalizationHelper.cs index 899ba2eee77..d261ac1319c 100644 --- a/Content.Shared/Botany/PlantAnalyzer/PlantAnalyzerLocalizationHelper.cs +++ b/Content.Shared/Botany/PlantAnalyzer/PlantAnalyzerLocalizationHelper.cs @@ -15,13 +15,13 @@ public string GasesToLocalizedStrings(List gases) if (gases.Count == 0) return ""; - List gasIds = []; + List gasIds = []; foreach (var gas in gases) - gasIds.Add((int)gas); + gasIds.Add(gas.ToString()); List gasesLoc = []; foreach (var gas in _prototypeManager.EnumeratePrototypes()) - if (gasIds.Contains(int.Parse(gas.ID))) + if (gasIds.Contains(gas.ID)) gasesLoc.Add(Loc.GetString(gas.Name)); return ContentLocalizationManager.FormatList(gasesLoc);