Fix shop not closing on buy item
This commit is contained in:
@@ -46,5 +46,6 @@ public class ShopButton : MonoBehaviour
|
|||||||
player.dashCooldownSeconds += amount;
|
player.dashCooldownSeconds += amount;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
GameObject.FindGameObjectWithTag("GameController").GetComponent<GameState>().NewWave();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user