diff --git a/server.py b/server.py index 93d9667b2..7309df0ce 100644 --- a/server.py +++ b/server.py @@ -22,7 +22,7 @@ BUFFER_SIZE = 4096 COMMIT_INTERVAL = 5 -DAY_LENGTH = 300 +DAY_LENGTH = 600 SPAWN_POINT = (0, 0, 0, 0, 0) RATE_LIMIT = False RECORD_HISTORY = False diff --git a/src/config.h b/src/config.h index 1e723b094..023d1b676 100644 --- a/src/config.h +++ b/src/config.h @@ -11,7 +11,7 @@ #define MAX_MESSAGES 4 #define DB_PATH "craft.db" #define USE_CACHE 1 -#define DAY_LENGTH 300 +#define DAY_LENGTH 600 #define INVERT_MOUSE 0 // rendering options diff --git a/src/main.c b/src/main.c index 0f5fb0a27..d64aee6e2 100644 --- a/src/main.c +++ b/src/main.c @@ -149,7 +149,7 @@ float get_daylight() { return 1 / (1 + powf(2, -t)); } else { - float t = (timer - 0.90) * 100; + float t = (timer - 0.85) * 100; return 1 - 1 / (1 + powf(2, -t)); } } diff --git a/textures/sky.png b/textures/sky.png index 3fd1a3e42..5e53fc756 100644 Binary files a/textures/sky.png and b/textures/sky.png differ