From 2df4ba329711e1a9fe698deb2bc58228b51a626c Mon Sep 17 00:00:00 2001 From: tovjemam Date: Tue, 26 May 2026 17:07:36 +0200 Subject: [PATCH] Make days slower --- src/game/openworld.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/openworld.cpp b/src/game/openworld.cpp index 81b8a87..32bcee1 100644 --- a/src/game/openworld.cpp +++ b/src/game/openworld.cpp @@ -90,7 +90,8 @@ void game::OpenWorld::Update(int64_t delta_time) { Super::Update(delta_time); - const float timespeed = 0.05f; + const float day_seconds_irl = 1800.0f; + const float timespeed = 24.0f / day_seconds_irl; SetDayTime(static_cast(GetTime()) * 0.001f * timespeed + daytime_offset_); }