Skip to content

Commit bd66343

Browse files
add edit comments
1 parent ba98226 commit bd66343

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Content.Server/Cargo/Systems/PricingSystem.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ private void CalculateMobPrice(EntityUid uid, MobPriceComponent component, ref P
9090
if (args.Handled)
9191
return;
9292

93+
// ES START
9394
if (!TryComp<MobStateComponent>(uid, out var state))
9495
{
9596
Log.Error($"Tried to get the mob price of {ToPrettyString(uid)}, which has no {nameof(MobStateComponent)}.");
@@ -98,6 +99,7 @@ private void CalculateMobPrice(EntityUid uid, MobPriceComponent component, ref P
9899

99100
// TODO: Better handling of missing.
100101
var partList = _bodySystem.GetBodyChildren(uid).ToList();
102+
// ES END
101103
var totalPartsPresent = partList.Sum(_ => 1);
102104
var totalParts = partList.Count;
103105

0 commit comments

Comments
 (0)