Fix duplicated event for joining in splitscreen screen
This commit is contained in:
parent
12afc23e4e
commit
f55331cf65
@ -771,7 +771,7 @@ void InputManager::dispatchInput(Input::InputType type, int deviceID,
|
||||
else if (player == NULL)
|
||||
{
|
||||
// New player is joining
|
||||
if (action == PA_FIRE || action == PA_MENU_SELECT)
|
||||
if (value != 0 && (action == PA_FIRE || action == PA_MENU_SELECT))
|
||||
{
|
||||
InputDevice *device = NULL;
|
||||
if (type == Input::IT_KEYBOARD)
|
||||
|
Loading…
Reference in New Issue
Block a user