mirror of
https://github.com/TimeCrafters/FreightFrenzy.git
synced 2025-12-13 05:02:34 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -41,7 +41,10 @@ public class GamepadChecker {
|
||||
Field field = gamepad.getClass().getDeclaredField(btn);
|
||||
|
||||
if (field.getBoolean(gamepad)) {
|
||||
engine.buttonDown(gamepad, btn);
|
||||
if (!buttons.get(btn)) {
|
||||
engine.buttonDown(gamepad, btn);
|
||||
}
|
||||
|
||||
buttons.put(btn, true);
|
||||
} else {
|
||||
if (buttons.get(btn)) {
|
||||
|
||||
Reference in New Issue
Block a user