mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
update on_physics_update & update standard components
This commit is contained in:
parent
2d29b8c46c
commit
bf682daffe
9 changed files with 12 additions and 29 deletions
|
|
@ -95,7 +95,6 @@ void LevelController::update(float delta, bool pause) {
|
|||
if (!pause) {
|
||||
// update all objects that needed
|
||||
blocks->update(delta, settings.chunks.padding.get());
|
||||
level->entities->updatePhysics(delta);
|
||||
level->entities->update(delta);
|
||||
for (const auto& [_, player] : *level->players) {
|
||||
if (player->isSuspended()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue