mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: camera shaking while paused
This commit is contained in:
parent
df1e3f42c9
commit
e45f63c315
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ void PlayerController::postUpdate(float delta, bool input, bool pause) {
|
|||
camControl.updateMouse(this->input);
|
||||
}
|
||||
player->postUpdate();
|
||||
camControl.update(this->input, delta, level->chunks.get());
|
||||
camControl.update(this->input, pause ? 0.0f : delta, level->chunks.get());
|
||||
if (input) {
|
||||
updateInteraction();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue