This commit is contained in:
Yohann D'ANELLO
2020-12-11 17:06:30 +01:00
parent b9b776b7ad
commit 98b5dd64a8
3 changed files with 21 additions and 16 deletions

View File

@ -195,7 +195,7 @@ class Game:
if key == KeyValues.ENTER:
item = self.store_menu.validate()
flag = item.be_sold(self.player, self.store_menu.merchant, self)
if not flag :
if not flag:
self.message = _("You do not have enough money")
self.display_actions(DisplayActions.UPDATE)
# Ensure that the cursor has a good position