]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Food system locale fix (#14365)
authorMr0maks <mr.maks0443@gmail.com>
Fri, 3 Mar 2023 07:19:55 +0000 (12:19 +0500)
committerGitHub <noreply@github.com>
Fri, 3 Mar 2023 07:19:55 +0000 (23:19 -0800)
Content.Server/Nutrition/EntitySystems/FoodSystem.cs

index b674c2c84cb05ff22b67181a14a204c75bba01b9..bd31a9793c26e47c660738fd5e58e4651e6074c4 100644 (file)
@@ -201,7 +201,7 @@ namespace Content.Server.Nutrition.EntitySystems
             }
             else
             {
-                _popupSystem.PopupEntity(Loc.GetString(component.EatMessage, ("foodComp", uid), ("flavors", flavors)), args.Args.User, args.Args.User);
+                _popupSystem.PopupEntity(Loc.GetString(component.EatMessage, ("food", uid), ("flavors", flavors)), args.Args.User, args.Args.User);
 
                 // log successful voluntary eating
                 _adminLogger.Add(LogType.Ingestion, LogImpact.Low, $"{ToPrettyString(args.Args.User):target} ate {ToPrettyString(uid):food}");