Hello I am working on a tower defense game and whenever I place a tower it works, but it doesn’t work the second time. I have spent a day or two on this already and I need help. This part of the code specifically is not working
(Never mind i fixed it)
The target is the tower and I think that the problem is that the filter is focused on the first target and not the second one, I am not sure though.
If you know how to fix this I would really appreciate it if you helped, thanks.