From 54d53e0a78d6da2e6a2c9b74a144ba6f823b80ca Mon Sep 17 00:00:00 2001 From: hondres Date: Thu, 28 Jan 2016 20:53:15 +0100 Subject: fix dpad left/right not showing correctly in project settings --- tools/editor/project_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/editor/project_settings.cpp b/tools/editor/project_settings.cpp index 6c5e18ec9a..cbac870a6b 100644 --- a/tools/editor/project_settings.cpp +++ b/tools/editor/project_settings.cpp @@ -474,7 +474,7 @@ void ProjectSettings::_update_actions() { case InputEvent::JOYSTICK_BUTTON: { String str = "Device "+itos(ie.device)+", Button "+itos(ie.joy_button.button_index); - if (ie.joy_button.button_index>=0 && ie.joy_button.button_index<14) + if (ie.joy_button.button_index>=0 && ie.joy_button.button_index