Fix exitDoorPrefab not destroying itself
This commit is contained in:
parent
d3243016f9
commit
73f3ff25da
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ namespace src.Wall
|
|||
{
|
||||
return;
|
||||
}
|
||||
Destroy(this);
|
||||
Destroy(gameObject, 1f);
|
||||
_gameManager.StartNextLevel();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue