Jofthomas HF staff commited on
Commit
5863e69
1 Parent(s): 666df37
Files changed (1) hide show
  1. src/components/Game.tsx +1 -1
src/components/Game.tsx CHANGED
@@ -22,9 +22,9 @@ import { EndGame } from './EndGame.tsx';
22
  import { LOBBY_SIZE } from '../../convex/constants';
23
 
24
  export const SHOW_DEBUG_UI = !!import.meta.env.VITE_SHOW_DEBUG_UI;
25
- let cycle_num=0
26
  export function GameStateLabel(game: GameObj, me: PlayerDescription | undefined) {
27
  let humans = [...game.world.players.values()].filter(player => player.human).length
 
28
 
29
  switch (game.world.gameCycle.cycleState) {
30
  case 'Day':
 
22
  import { LOBBY_SIZE } from '../../convex/constants';
23
 
24
  export const SHOW_DEBUG_UI = !!import.meta.env.VITE_SHOW_DEBUG_UI;
 
25
  export function GameStateLabel(game: GameObj, me: PlayerDescription | undefined) {
26
  let humans = [...game.world.players.values()].filter(player => player.human).length
27
+ let cycle_num=game.world.gameCycle.cycleIndex
28
 
29
  switch (game.world.gameCycle.cycleState) {
30
  case 'Day':