Avoid skipping soccer setup screen when using gamepad
This commit is contained in:
parent
4efafe5b2f
commit
4db01b3c24
@ -305,6 +305,12 @@ GUIEngine::EventPropagation SoccerSetupScreen::filterActions(PlayerAction action
|
||||
{
|
||||
if(m_schedule_continue)
|
||||
return EVENT_BLOCK;
|
||||
|
||||
const bool pressed_down = value > Input::MAX_VALUE*2/3;
|
||||
|
||||
if (!pressed_down)
|
||||
return EVENT_BLOCK;
|
||||
|
||||
|
||||
ButtonWidget* bt_continue = getWidget<ButtonWidget>("continue");
|
||||
BubbleWidget* bubble = getWidget<BubbleWidget>("lblLeftRight");
|
||||
|
Loading…
x
Reference in New Issue
Block a user