mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 15:01:49 +00:00
LeveController delta time limited to 200 ms
This commit is contained in:
parent
43903bb378
commit
e8a703f814
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ void LevelScreen::update(float delta) {
|
||||||
controller->getLevel()->getWorld()->updateTimers(delta);
|
controller->getLevel()->getWorld()->updateTimers(delta);
|
||||||
animator->update(delta);
|
animator->update(delta);
|
||||||
}
|
}
|
||||||
controller->update(delta, !inputLocked, hud->isPause());
|
controller->update(glm::min(delta, 0.2f), !inputLocked, hud->isPause());
|
||||||
hud->update(hudVisible);
|
hud->update(hudVisible);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue