#A bug with tower defense game
1 messages · Page 1 of 1 (latest)
yeah im pretty sure destroyed
i added in the else return earlier
then add an if statement to check if damageDelt, config, and config.totaldamage exists
problemo fixo
if it dont exist then dont add the stuff gold, earned cash and total damage
is the else return fine
ima guess the problem is fixed
what code did bro add
unless theres the use of math.floor in tower.Attack then thats the wrong code
is there something i can do to make it go back to normal
and make it stop attacking
like returning it to before attacking
I dont know your code ||nor have the time to read it|| so the only thing I can say to you is that its most likely possible but theres prob not gonna be an easy solution (this is usually the case)
and hope you fix your problem (or someone else does)
i think i fixxed it