aboutsummaryrefslogtreecommitdiffstats
path: root/deckit
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-16 17:24:13 +0100
committerDanilo M. <danix@danix.xyz>2026-11-16 17:24:13 +0100
commitdb13056723c0c13fcf9ea98ed258a619f9654ab8 (patch)
tree6dfdb7ae782d3101bec7f0188086150b2bbddede /deckit
parent5e18a133f779d5f344e592b4e3c122c43b2a4982 (diff)
downloaddeck-it-db13056723c0c13fcf9ea98ed258a619f9654ab8.tar.gz
deck-it-db13056723c0c13fcf9ea98ed258a619f9654ab8.zip
fix(xbox): a redrawn hold never fires, and start clears the flag
A power button rebuilt mid-hold lost its pointerup, so letting go early still turned the console off; hold.js now drops a hold whose button is no longer in the page. status.xbox is written 0 on start, in case a crash left it at 1. The "ago" texts move on each minute, and missing storage names and achievement percentages no longer print null. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'deckit')
-rw-r--r--deckit/modules/xbox.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/deckit/modules/xbox.py b/deckit/modules/xbox.py
index 3ed7ce3..8efa426 100644
--- a/deckit/modules/xbox.py
+++ b/deckit/modules/xbox.py
@@ -471,6 +471,7 @@ class Xbox:
self.wake.clear()
def start(self):
+ self._set_playing(None) # a crash mid-game left status.xbox at 1
if self.client_id:
threading.Thread(target=self.run, daemon=True).start()