mirror of
https://github.com/isledecomp/isle.pizza.git
synced 2026-05-02 02:33:57 +00:00
Fix multiplayer overlay showing "Waiting for ..." with no names
This commit is contained in:
parent
182dfd9f1f
commit
4a07011fd0
@ -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(', ')}...`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user