aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/brothers.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/brothers.zig b/src/brothers.zig
index f13b5ce..f29895e 100644
--- a/src/brothers.zig
+++ b/src/brothers.zig
@@ -61,7 +61,7 @@ pub const Brother = struct {
self.y += self.vy * utils.frequency;
if (self.y > 160)
self.y = 160;
- } else if (gamepad.pressed.up) {
+ } else if (gamepad.pressed.up or gamepad.pressed.x) {
self.vy = -200;
self.y += self.vy * utils.frequency;
}