Fix ReagentQuantity Equality check (#39574)

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
Princess Cheeseballs 2025-08-11 15:38:01 -07:00 committed by GitHub
parent 291a6c9808
commit de7486b8db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,7 @@ public partial struct ReagentQuantity : IEquatable<ReagentQuantity>
public bool Equals(ReagentQuantity other)
{
return Quantity != other.Quantity && Reagent.Equals(other.Reagent);
return Quantity == other.Quantity && Reagent.Equals(other.Reagent);
}
public override bool Equals(object? obj)