Update Assets/Script/PlayerController.cs

This commit is contained in:
Anonymous Raccoon
2018-10-07 16:26:48 +02:00
parent 3d5cfcf755
commit 39db5cc07b

View File

@@ -50,7 +50,6 @@ public class PlayerController : MonoBehaviour
void OnCollisionEnter2D(Collision2D other)
{
if (other.transform != null && hit.transform !=null)
if (other.transform != null && hit.transform != null)
{
if (other.transform.name == hit.transform.name)