about summary refs log tree commit diff
path: root/src/game/client/components/controls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/components/controls.cpp')
-rw-r--r--src/game/client/components/controls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/components/controls.cpp b/src/game/client/components/controls.cpp
index 6cb89836..208cad5e 100644
--- a/src/game/client/components/controls.cpp
+++ b/src/game/client/components/controls.cpp
@@ -46,7 +46,7 @@ static void con_key_input_nextprev_weapon(void *result, void *user_data)
 	set->controls->input_data.wanted_weapon = 0;
 }
 
-void CONTROLS::on_init()
+void CONTROLS::on_console_init()
 {
 	// game commands
 	MACRO_REGISTER_COMMAND("+left", "", con_key_input_state, &input_direction_left);