diff --git a/Core/Goals/CorpseConsumedGoal.cs b/Core/Goals/CorpseConsumedGoal.cs index cdfe1bde..cef4ccf5 100644 --- a/Core/Goals/CorpseConsumedGoal.cs +++ b/Core/Goals/CorpseConsumedGoal.cs @@ -30,11 +30,8 @@ public CorpseConsumedGoal(ILogger logger, { AddPrecondition(GoapKey.consumablecorpsenearby, true); } - else - { - AddPrecondition(GoapKey.damagedone, false); - AddPrecondition(GoapKey.damagetaken, false); - } + AddPrecondition(GoapKey.damagedone, false); + AddPrecondition(GoapKey.damagetaken, false); AddPrecondition(GoapKey.consumecorpse, true); @@ -70,4 +67,4 @@ public override void OnEnter() Level = LogLevel.Information, Message = "Total: {total} | Remaining: {remains}")] static partial void LogConsumed(ILogger logger, int total, int remains); -} \ No newline at end of file +}