fix ServerMainloop timer

This commit is contained in:
MihailRis
2024-12-19 02:29:41 +03:00
parent 8a4f1e16f3
commit 008e11b4b7
4 changed files with 13 additions and 5 deletions
+3 -1
View File
@@ -150,7 +150,9 @@ void CameraControl::switchCamera() {
}
}
void CameraControl::update(PlayerInput input, float delta, Chunks& chunks) {
void CameraControl::update(
PlayerInput input, float delta, const Chunks& chunks
) {
offset = glm::vec3(0.0f, 0.0f, 0.0f);
if (auto hitbox = player.getHitbox()) {