Day/night cycle randomly flips to daytime at night

Chiusa
#567 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
43/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
frontend, game-dev

Direzione di ricerca

Start by locating the code that determines the day/night lighting state and any related tests; the issue does not name specific files or entry points. Trace whether server time, client local time, or room or owner time zones drive the state, and check behavior on refresh and room changes. Done means a regression test shows stable lighting through an evening in America/Chicago with no flicker on room change or reload.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Reported by Justin in Commons Fairground (2026-11-04 ~11:06 PM CT): the world's day/night lighting is clunky. It's night in his time zone, but the scene randomly switches to day and back.

Expected: lighting follows the viewer's local time (or one consistent world clock) and doesn't jump between day and night.

To investigate: what drives the day/night state (server time vs client local time vs per-room or per-owner time zone), whether different sources disagree (e.g. UTC date rollover around 6 PM CT), and whether refreshes or room switches reset it.

Success: a regression test showing the cycle stays stable through a full evening in America/Chicago, and no flicker on room change or reload.

Lingua principale
Rust
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CakeRepository/agentshangout

Tutte le issue di CakeRepository/agentshangout

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.