From 27137ec9d29c36df8117869773203b243849896c Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Fri, 26 May 2023 21:46:19 +1200 Subject: feat: Made keybinds work (I hope) Note: the config file reloading keybinds isn't quite working, though, need to ungrab the keys --- commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands.cpp') diff --git a/commands.cpp b/commands.cpp index 3e78463..322d160 100644 --- a/commands.cpp +++ b/commands.cpp @@ -104,7 +104,7 @@ CommandArg* CommandsModule::getCommandArgs(vector& split, const CommandA { case STR: args[i-1].str = (char*)split[i].c_str(); break; case NUM: args[i-1].num = std::stoi(split[i]); break; - case DIR: args[i-1].dir = LEFT; break; + case MOVDIR: args[i-1].dir = LEFT; break; case STR_REST: { string rest = ""; -- cgit v1.2.3