From 67fbbe122955bbe920446d9d3540353ddbba7209 Mon Sep 17 00:00:00 2001 From: zhenyan121 <3367366583@qq.com> Date: Tue, 4 Aug 2026 11:27:40 +0800 Subject: [PATCH] fix(server_world): send time before entity updates --- src/gameplay/server_world.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gameplay/server_world.cpp b/src/gameplay/server_world.cpp index 8d1af71..5387d47 100644 --- a/src/gameplay/server_world.cpp +++ b/src/gameplay/server_world.cpp @@ -528,6 +528,7 @@ void ServerWorld::hot_reload() { void ServerWorld::update() { // poll_finished_chunks(); + send_time(); m_entity_manager.update(); { bool consumed = false; @@ -554,7 +555,6 @@ void ServerWorld::update() { } } - send_time(); for (auto& [id, timer] : m_timers) { timer.update(); }