diff --git a/SHADE_Managed/src/Components/Collider.cxx b/SHADE_Managed/src/Components/Collider.cxx index 6d2c2f01..6768ad1c 100644 --- a/SHADE_Managed/src/Components/Collider.cxx +++ b/SHADE_Managed/src/Components/Collider.cxx @@ -233,7 +233,7 @@ namespace SHADE for (const auto& collider : GetNativeComponent()->GetColliders()) { ColliderBound^ bound = nullptr; - switch (collider.first.GetType()) + switch (collider.GetType()) { case SHCollider::Type::BOX: bound = gcnew BoxColliderBound(i, Owner.GetEntity());