Day night cycle
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user