Skip to content

Commit

Permalink
Remove outdated comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
nikthechampiongr committed May 5, 2024
1 parent 0ec2804 commit ca8d054
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ private bool ConflictsWithUniqueWound(string woundProto,
{
// Assumption: Since this wound is unique, then any other wound we are looking for is also unique.
// So we don't need to try to get the meta component for other wounds that are not unique.
// This will lead to a false positive if both meta comps have no associated prototype but if that happens
// something else has gone horribly wrong anyways.
if (otherWound.Comp.Unique &&
TryComp<MetaDataComponent>(otherWound.Owner, out var otherMeta) &&
otherMeta.EntityPrototype?.ID == woundProto)
Expand Down

0 comments on commit ca8d054

Please sign in to comment.