diff --git a/app/react-components/entity.jsx b/app/react-components/entity.jsx index b6124f7..59f55f7 100644 --- a/app/react-components/entity.jsx +++ b/app/react-components/entity.jsx @@ -52,7 +52,7 @@ function Entity({entity, ...rest}) { return false; } if (debug) { - entity.Collider.recalculateAabbs(); + entity.Collider?.recalculateAabbs(); } return (