Don't log missing flavour (#11229)

This commit is contained in:
Leon Friedrich
2022-09-14 19:09:15 +12:00
committed by GitHub
parent 6ee28e86f2
commit 23d497024d

View File

@@ -26,7 +26,7 @@ public sealed class FlavorProfileSystem : EntitySystem
FlavorProfileComponent? flavorProfile = null)
{
var flavors = new HashSet<string>();
if (!Resolve(uid, ref flavorProfile))
if (!Resolve(uid, ref flavorProfile, false))
{
return Loc.GetString(BackupFlavorMessage);
}