From 8dbb7e678720885ad5795591b3c664327a879008 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 31 May 2026 22:55:24 +0900 Subject: [PATCH] menus/editing: print positive number on adjusting stock down --- dibbler/menus/editing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dibbler/menus/editing.py b/dibbler/menus/editing.py index ccd74f7..bdcf75d 100644 --- a/dibbler/menus/editing.py +++ b/dibbler/menus/editing.py @@ -190,7 +190,7 @@ class AdjustStockMenu(Menu): if add_stock > 0: print(f"You added {add_stock:d} to the stock of {product}") else: - print(f"You removed {add_stock:d} from the stock of {product}") + print(f"You removed {(add_stock * -1):d} from the stock of {product}") product.stock += add_stock