NestorTejero / ES2016A

VideoJoc Curs Enginyeria Software 2016 - grup A de pràctiques (dijous)
https://nestortejero.github.io/ES2016A/
GNU General Public License v3.0
2 stars 0 forks source link

Solved bug with TowerSelection while tower placing #159

Closed agonzatr17 closed 7 years ago

agonzatr17 commented 7 years ago

Solved the bug explained here https://github.com/NestorTejero/ES2016A/issues/158

Now you will not select towers while placing a tower. TowerPlacement enables/disables the TowerSelection script when tower placing. This way the code from TowerSelection gets more clean (it does not need to check that we are placing a tower when we click).