release: offline mode + local pass-and-play (hotseat) — proposed v1.12.0 #212
@@ -112,7 +112,9 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
if (guest) return;
|
// Offline mode offers only the local vs_ai flow (the friends section is hidden), and the network
|
||||||
|
// is off, so skip the friend fetch — it would be refused by the transport and toast an error.
|
||||||
|
if (guest || offlineMode.active) return;
|
||||||
try {
|
try {
|
||||||
friends = await gateway.friendsList();
|
friends = await gateway.friendsList();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user