Fix player jitter on moving platforms
This commit is contained in:
@@ -30,7 +30,7 @@ public class FallingPlatform : MonoBehaviour
|
||||
|
||||
void OnTriggerEnter(Collider col)
|
||||
{
|
||||
if (Player.Owner && Player.Owner.gameObject == col.gameObject)
|
||||
if (Player.Instance && Player.Instance.gameObject == col.gameObject)
|
||||
{
|
||||
Fall();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user