Fix exitDoorPrefab not destroying itself

This commit is contained in:
Denis-Cosmin Nutiu 2019-07-13 18:15:22 +03:00
parent d3243016f9
commit 73f3ff25da

View file

@ -23,7 +23,7 @@ namespace src.Wall
{
return;
}
Destroy(this);
Destroy(gameObject, 1f);
_gameManager.StartNextLevel();
}
}