Jofthomas commited on
Commit
98b22f2
·
1 Parent(s): c386bb4
Files changed (1) hide show
  1. src/components/Game.tsx +1 -1
src/components/Game.tsx CHANGED
@@ -24,7 +24,7 @@ import { LOBBY_SIZE } from '../../convex/constants';
24
  export const SHOW_DEBUG_UI = !!import.meta.env.VITE_SHOW_DEBUG_UI;
25
 
26
  export function GameStateLabel(game: GameObj, me: PlayerDescription | undefined) {
27
- const humans = [...game.world.playersInit.values()].filter(player => player.human).length
28
  switch (game.world.gameCycle.cycleState) {
29
  case 'Day':
30
  return {
 
24
  export const SHOW_DEBUG_UI = !!import.meta.env.VITE_SHOW_DEBUG_UI;
25
 
26
  export function GameStateLabel(game: GameObj, me: PlayerDescription | undefined) {
27
+ let humans = [...game.world.playersInit.values()].filter(player => player.human).length
28
  switch (game.world.gameCycle.cycleState) {
29
  case 'Day':
30
  return {