From 81925a414b00018c8db73569aba09055a7b7cb11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B0=D0=B2=D0=B5=D0=BB=20=D0=9F=D1=83=D1=82=D0=B8?= =?UTF-8?q?=D0=BB=D0=B8=D0=BD?= Date: Wed, 26 Apr 2023 10:19:14 +0400 Subject: [PATCH] fix --- .../PrecastConcretePlantFileImplement/ShopStorage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PrecastConcretePlant/PrecastConcretePlantFileImplement/ShopStorage.cs b/PrecastConcretePlant/PrecastConcretePlantFileImplement/ShopStorage.cs index 0cba134..45d6baf 100644 --- a/PrecastConcretePlant/PrecastConcretePlantFileImplement/ShopStorage.cs +++ b/PrecastConcretePlant/PrecastConcretePlantFileImplement/ShopStorage.cs @@ -85,7 +85,7 @@ namespace PrecastConcretePlantFileImplement .Select(shop => shop.Reinforceds .FirstOrDefault(x => x.Key == reinforced.Id).Value.Item2) .Sum(); - if (resultCount >= needCount) + if (resultCount < needCount) { return false; }