From b814632f740f6931409da60e033eade07003ca27 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 19 Sep 2024 01:26:13 -0700 Subject: [PATCH] Update dopewar.py --- modules/dopewar.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/dopewar.py b/modules/dopewar.py index e504d8f..317bc59 100644 --- a/modules/dopewar.py +++ b/modules/dopewar.py @@ -559,7 +559,10 @@ def playDopeWars(nodeID, cmd): msg = "You don't have anything to sell" else: for i in range(0, len(my_drugs)): - msg += sell_func(nodeID, price_list, i+1, 'm') + sell = sell_func(nodeID, price_list, i+1, 'm') + # ignore starts with "You don't have any" + if not sell.startswith("You don't have any"): + msg += sell + '\n' return msg elif 'f' in menu_choice: # set last command to location