~vladh/peony

98f9237bb3f6257c2962fc4a9bda2bc168174587 — Vlad-Stefan Harbuz 1 year, 7 months ago 16fbc34
expand log
1 files changed, 2 insertions(+), 1 deletions(-)

M src/physics.cpp
M src/physics.cpp => src/physics.cpp +2 -1
@@ 81,7 81,8 @@ physics::update()
        spatial::Component *spatial_component = spatial::get_component(physics_component->entity_handle);

        if (!spatial::is_spatial_component_valid(spatial_component)) {
            logs::warning("Tried to update physics component but it had no spatial component.");
            logs::warning("Tried to update physics component %d but it had no spatial component.",
                physics_component->entity_handle);
            continue;
        }