From 09ac84a66ee0d8b011148a8550fa37fee8034df9 Mon Sep 17 00:00:00 2001 From: Chomp Date: Sun, 8 Jan 2023 16:32:31 +0000 Subject: [PATCH] FIx bug --- AssortGenerator/Program.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/AssortGenerator/Program.cs b/AssortGenerator/Program.cs index 9089a79..a528e19 100644 --- a/AssortGenerator/Program.cs +++ b/AssortGenerator/Program.cs @@ -68,12 +68,10 @@ namespace AssortGenerator if (parsedRestrictionMax > defaultStackSize) { item.upd.StackObjectsCount = parsedRestrictionMax; + continue; } } - else - { - item.upd.StackObjectsCount = defaultStackSize; - } + item.upd.StackObjectsCount = defaultStackSize; } }