Fix multiplayer overlay showing "Waiting for ..." with no names

This commit is contained in:
Christian Semmler 2026-04-03 20:46:09 -07:00
parent 182dfd9f1f
commit 4a07011fd0
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C

View File

@ -72,6 +72,7 @@
} }
} }
if (anyCount) parts.push(anyCount === 1 ? '1 more player' : `${anyCount} more players`); if (anyCount) parts.push(anyCount === 1 ? '1 more player' : `${anyCount} more players`);
if (!parts.length) return 'Starting...';
return `Waiting for ${parts.join(', ')}...`; return `Waiting for ${parts.join(', ')}...`;
} }