From b3e1dfc348d09fe3f21cb321b900c23b3ab0c6f6 Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto Date: Sun, 13 Jun 2021 00:28:48 +0200 Subject: [PATCH] Fix wrong stack count check --- Content.Server/Stack/StackSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Stack/StackSystem.cs b/Content.Server/Stack/StackSystem.cs index a0ac77bdf5..18af48a271 100644 --- a/Content.Server/Stack/StackSystem.cs +++ b/Content.Server/Stack/StackSystem.cs @@ -33,7 +33,7 @@ namespace Content.Server.Stack public bool Use(EntityUid uid, SharedStackComponent stack, int amount) { // Check if we have enough things in the stack for this... - if (stack.Count <= amount) + if (stack.Count < amount) { // Not enough things in the stack, return false. return false;