Spaces:
Sleeping
Sleeping
fix num ?
Browse files- 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':
|