onlinemodus fix failed

This commit is contained in:
2026-11-19 00:55:39 +01:00
parent 64c5b65543
commit 347701d66f
10 changed files with 414 additions and 53 deletions

View File

@@ -36,7 +36,7 @@
async function beat(state) {
const p = prof();
await db.put(`lobby/${me()}`, { name: p.name, flag: p.flag || 'XX', fame: p.fame | 0, ver: 2, state: state || 'idle', ts: { '.sv': 'timestamp' } });
await db.put(`lobby/${me()}`, { name: p.name, flag: p.flag || 'XX', room: p.room || p.flag || 'XX', fame: p.fame | 0, ver: 2, state: state || 'idle', ts: { '.sv': 'timestamp' } });
}
function watchList() {