'D' is not an intelligent key to drop an item

This commit is contained in:
Yohann D'ANELLO 2020-12-04 17:19:06 +01:00
parent 5b4dc601bc
commit 91a4514649
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ class Game:
elif key == KeyValues.EQUIP:
self.inventory_menu.validate().equip()
elif key == KeyValues.DROP:
self.inventory_menu.validate().use()
self.inventory_menu.validate().drop()
# Ensure that the cursor has a good position
self.inventory_menu.position = min(self.inventory_menu.position,

View File

@ -30,7 +30,7 @@ class Settings:
self.KEY_INVENTORY = ['i', 'Key used to open the inventory']
self.KEY_USE = ['u', 'Key used to use an item in the inventory']
self.KEY_EQUIP = ['e', 'Key used to equip an item in the inventory']
self.KEY_DROP = ['d', 'Key used to drop an item in the inventory']
self.KEY_DROP = ['r', 'Key used to drop an item in the inventory']
self.TEXTURE_PACK = ['ascii', 'Texture pack']
self.LOCALE = [locale.getlocale()[0][:2], 'Language']