From: Daniel Karbach Date: Thu, 10 Sep 2015 15:13:52 +0000 (+0200) Subject: fix server state update X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=b3d9f773c94aee99598cbd8e94e614b2c6da1216;p=blank.git fix server state update --- diff --git a/src/app/ServerState.cpp b/src/app/ServerState.cpp index e839841..0be5653 100644 --- a/src/app/ServerState.cpp +++ b/src/app/ServerState.cpp @@ -46,9 +46,8 @@ void ServerState::Update(int dt) { push_timer.Update(dt); server.Handle(); spawner.Update(dt); - if (!world.Players().empty()) { - world.Update(dt); - } + world.Update(dt); + chunk_loader.Update(dt); if (push_timer.Hit()) { server.Update(dt); }