aboutsummaryrefslogtreecommitdiff
path: root/src/engine/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/engine.cpp')
-rw-r--r--src/engine/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp
index ed81ed3..e463f28 100644
--- a/src/engine/engine.cpp
+++ b/src/engine/engine.cpp
@@ -49,6 +49,6 @@ void CLIGameEngine::_configure_input(
auto key = config_pair.first;
auto command = config_pair.second;
- _input_handler->attach(key, command);
+ _input_handler->subscribe(key, command);
}
}