diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs index 915a6bb..fe4f602 100644 --- a/Assets/Scripts/PlayerController.cs +++ b/Assets/Scripts/PlayerController.cs @@ -184,7 +184,7 @@ public class PlayerController : MonoBehaviour { Physics.gravity = this.downDirection * 9.81f; - PlatformManager platform = pullObject.GetComponent(); + PlatformManager platform = other.gameObject.GetComponent(); if (platform != null) {