From 23d497024d8d49fb91f0ed1e1c5c7c13eeae7293 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Wed, 14 Sep 2022 19:09:15 +1200 Subject: [PATCH] Don't log missing flavour (#11229) --- Content.Server/Nutrition/EntitySystems/FlavorProfileSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Nutrition/EntitySystems/FlavorProfileSystem.cs b/Content.Server/Nutrition/EntitySystems/FlavorProfileSystem.cs index 7b11419e6c..3c5a9c3c14 100644 --- a/Content.Server/Nutrition/EntitySystems/FlavorProfileSystem.cs +++ b/Content.Server/Nutrition/EntitySystems/FlavorProfileSystem.cs @@ -26,7 +26,7 @@ public sealed class FlavorProfileSystem : EntitySystem FlavorProfileComponent? flavorProfile = null) { var flavors = new HashSet(); - if (!Resolve(uid, ref flavorProfile)) + if (!Resolve(uid, ref flavorProfile, false)) { return Loc.GetString(BackupFlavorMessage); }