Remove spectator count from local play.
This commit is contained in:
parent
da1ff0a96f
commit
a4293a0236
@ -739,10 +739,12 @@ const INTERFACE = {
|
||||
ctx.fillText(GAME_DATA.turn, width - gui_margin.t, gui_margin.t);
|
||||
|
||||
// Number of spectators
|
||||
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);
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user