mirror of
https://github.com/zoriya/Goulag-Prototype.git
synced 2025-12-06 06:36:29 +00:00
Update Assets/Script/PlayerController.cs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user