From 7e265f496d6053bacc2b3ad89140aecc4d454079 Mon Sep 17 00:00:00 2001 From: troido Date: Sat, 26 Sep 2020 00:32:04 +0200 Subject: don't send null as empty direction --- keybindings/default.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'keybindings') diff --git a/keybindings/default.json b/keybindings/default.json index faf1b40..94ab8ba 100644 --- a/keybindings/default.json +++ b/keybindings/default.json @@ -16,8 +16,8 @@ "q": ["drop"], "Q": ["take"], "E": ["use"], -"R": ["input", ["interact", [null]]], -"r": ["input", ["interact", [null, "north", "south", "east", "west"]]], +"R": ["input", ["interact", ["none"]]], +"r": ["input", ["interact", ["none", "north", "south", "east", "west"]]], "x": ["selectitem", -1, true, true], "c": ["selectitem", 1, true, true], "v": ["selectwidget", -1, true, true], @@ -26,8 +26,8 @@ "+": ["selectitem", 1, true, true], "/": ["selectwidget", -1, true, true], "*": ["selectwidget", 1, true, true], -"f": ["input", ["attack", [null, "north", "south", "east", "west"]]], -"F": ["input", ["attack", [null]]], +"f": ["input", ["attack", ["none", "north", "south", "east", "west"]]], +"F": ["input", ["attack", ["none"]]], "W": ["input", ["attack", ["north"]]], "S": ["input", ["attack", ["south"]]], "D": ["input", ["attack", ["east"]]], -- cgit