summaryrefslogtreecommitdiff
path: root/asciifarmclient/commandhandler.py
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-04-08 14:27:43 +0200
committertroido <troido@protonmail.com>2020-04-08 14:27:43 +0200
commit4175c74cae6406fd93412f223d08ba04f8f61149 (patch)
tree50f6582b1123f8166e00f48a819a02ddf9cc21d7 /asciifarmclient/commandhandler.py
parent8c48efc21377680d88bbbbf68b8121d24bea666d (diff)
fixed the not working use bug
Diffstat (limited to 'asciifarmclient/commandhandler.py')
-rw-r--r--asciifarmclient/commandhandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/asciifarmclient/commandhandler.py b/asciifarmclient/commandhandler.py
index 4bf785a..7cb3813 100644
--- a/asciifarmclient/commandhandler.py
+++ b/asciifarmclient/commandhandler.py
@@ -105,7 +105,7 @@ class CommandHandler:
def useSelected(self):
menu = "inventory"
selected = self.client.display.getSelectedItem(menu)
- self.input(["use", menu, selected])
+ self.input(["use", selected])
def interactSelected(self):
menu = "ground"