Day night cycle

This commit is contained in:
2026-09-26 11:03:07 -03:00
parent 8f32a59bd6
commit 8b549162c4
16 changed files with 244 additions and 6 deletions
+3
View File
@@ -41,6 +41,9 @@ export class ServerWorld {
#changes = new Map<number, Map<string, BlockChange>>();
tiles = new Map<string, Tile>();
// ticks since 06:00 of day 1, see common/time.ts
time = 0;
// set when anything that gets saved changes
dirty = false;