Skip to content

Commit

Permalink
frontend: fix supervisor button detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Mstrodl committed Nov 21, 2024
1 parent 4aa0517 commit 6116aac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions onboard/frontend/ui/Devcade.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,6 @@ protected override void Update(GameTime gameTime) {

if (myState.IsKeyDown(Keys.Space) ||
(Input.GetButton(1, Input.ArcadeButtons.Menu) &&
Input.GetButtonDown(2, Input.ArcadeButtons.Menu)) ||
(Input.GetButtonDown(1, Input.ArcadeButtons.Menu) &&
Input.GetButton(2, Input.ArcadeButtons.Menu))) {
if (_holdingSupervisor == null) {
_holdingSupervisor = gameTime.TotalGameTime.TotalMilliseconds + 3000;
Expand Down

0 comments on commit 6116aac

Please sign in to comment.