This commit is contained in:
CortexCore
2023-12-03 17:35:43 +08:00
parent ba342d6627
commit ba9f4eda80
702 changed files with 162078 additions and 21050 deletions

View File

@@ -17,7 +17,7 @@ namespace BITFALL.Props
private Collider _collider;
private void FixedUpdate()
{
if (rigidbody.IsSleeping() && _interval.AllowUpdate)
if (rigidbody.IsSleeping() && _interval.AllowUpdate && _collider)
{
ReplaceImmediate(_collider.transform);
}