Remove spectator count from local play.

This commit is contained in:
yukirij 2024-10-12 22:54:19 -07:00
parent da1ff0a96f
commit a4293a0236

View File

@ -739,10 +739,12 @@ const INTERFACE = {
ctx.fillText(GAME_DATA.turn, width - gui_margin.t, gui_margin.t);
// Number of spectators
if(INTERFACE_DATA.mode == INTERFACE.Mode.Player || INTERFACE_DATA.mode == INTERFACE.Mode.Review) {
ctx.fillStyle = INTERFACE.Color.Text;
ctx.textBaseline = "bottom";
ctx.textAlign = "right";
ctx.fillText("⚇" + INTERFACE_DATA.Session.Client.Spectators.count, width - gui_margin.t, height - gui_margin.t);
}
// Game state message
let message = null;