Update AllyReturn for Bool Switch on Drop

This commit is contained in:
Philip W 2021-11-17 16:47:54 +00:00
parent 7f6b627bdd
commit dade4f9ba0

View File

@ -62,6 +62,7 @@ public class AlliedReturn : Physics2DObject
{
if (hasDroppableObject)
{
hasDroppableObject = false;
Instantiate<GameObject>(droppables[Random.Range(0, droppables.Length)]).transform.position = this.transform.position;
}
}