Skip to content

Commit

Permalink
InputSystem|Client: Try an event with all BindContexts if none is named
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Nov 7, 2014
1 parent 5fd578c commit 433e36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/client/src/ui/inputsystem.cpp
Expand Up @@ -1043,7 +1043,7 @@ bool InputSystem::tryEvent(ddevent_t const &event, String const &namedContext)
// Try all active contexts in order.
for(BindContext *context : d->contexts)
{
return context->tryEvent(event);
if(context->tryEvent(event)) return true;
}
return false;
}
Expand Down

0 comments on commit 433e36e

Please sign in to comment.