summaryrefslogtreecommitdiff
path: root/asciifarm/keybindings
diff options
context:
space:
mode:
authortroido <troido@hotmail.com>2018-01-17 20:26:16 +0100
committertroido <troido@hotmail.com>2018-01-17 20:26:16 +0100
commitf72c658220a78ec058ceca25118e3e9a499a6c2b (patch)
tree2a965a693d95f0ee651732ddc47b7e22bd188030 /asciifarm/keybindings
parent0bed6616326348b41c6a907552fff62956ce6f18 (diff)
updated maps and refactored client: renamed display parts and removed selector
Diffstat (limited to 'asciifarm/keybindings')
-rw-r--r--asciifarm/keybindings/keybindings.hy6
1 files changed, 3 insertions, 3 deletions
diff --git a/asciifarm/keybindings/keybindings.hy b/asciifarm/keybindings/keybindings.hy
index 5813362..d64bc8c 100644
--- a/asciifarm/keybindings/keybindings.hy
+++ b/asciifarm/keybindings/keybindings.hy
@@ -21,9 +21,9 @@ r (do [
(inp ["interact" "south"])
(inp ["interact" "east"])
(inp ["interact" "west"])])
-c (.select (selector "inventory") 1 True True)
-x (.select (selector "ground") 1 True True)
-v (.select (selector "equipment") 1 True True)
+c (.select (self.display.getWidget "inventory") 1 True True)
+x (.select (self.display.getWidget "ground") 1 True True)
+v (.select (self.display.getWidget "equipment") 1 True True)
z (inp ["unequip" (selectorvalue "equipment")])
f (do [
(inp ["attack"])