Update dopewar.py

This commit is contained in:
SpudGunMan
2024-09-19 01:26:13 -07:00
parent 741ced6289
commit b814632f74
+4 -1
View File
@@ -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