From: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com> Date: Mon, 11 Aug 2025 22:38:01 +0000 (-0700) Subject: Fix ReagentQuantity Equality check (#39574) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=de7486b8dba0481c1abc676f05e32beeaa67ea6a;p=space-station-14.git Fix ReagentQuantity Equality check (#39574) Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> --- diff --git a/Content.Shared/Chemistry/Reagent/ReagentQuantity.cs b/Content.Shared/Chemistry/Reagent/ReagentQuantity.cs index 4cc87f5bd7..cc5b52fbe2 100644 --- a/Content.Shared/Chemistry/Reagent/ReagentQuantity.cs +++ b/Content.Shared/Chemistry/Reagent/ReagentQuantity.cs @@ -52,7 +52,7 @@ public partial struct ReagentQuantity : IEquatable 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)