mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 13:01:49 +00:00
pause fix
This commit is contained in:
parent
c42ffb4047
commit
0d121fccd7
1 changed files with 3 additions and 1 deletions
|
|
@ -23,7 +23,9 @@ void LevelController::update(float delta, bool input, bool pause) {
|
||||||
player->update(delta, input, pause);
|
player->update(delta, input, pause);
|
||||||
level->update();
|
level->update();
|
||||||
chunks->update(settings.chunks.loadSpeed);
|
chunks->update(settings.chunks.loadSpeed);
|
||||||
blocks->update(delta);
|
if (!pause) {
|
||||||
|
blocks->update(delta);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void LevelController::onWorldSave() {
|
void LevelController::onWorldSave() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue