-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Fix keyboard sensor without qualifiers.
Previously the qualifiers was taken in count event if they was unused. It create the sensor to be always true as the default status of qualifier is to true in the Evaluate function. To fix this issue the logic was inverted : the default value is to false and test on these values are done only if m_qual and m_qual2 are valid.
- Loading branch information
1 parent
6ee296f
commit 2c5c0b8
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters