My code works great but I do believe there is redundancy…i.e. code is firing when it doesnt need to and giving me a lot of “Accessed None” in my error log, I have noticed my simulations getting a little choppy after some time and I can only assume its because of this.
It would be a lot of work to get rid of all the “accessed nones” but I’ll do it if its needed! Can anyone tell me if its worth my time?
I’d recommend getting rid of them. For one, its a good habit to avoid having any ‘accessed none’ type code. It makes debugging easier and will likely make the code you write more efficient. It could also improve your game’s performance, given that you would no longer be calling a bunch of function or calculations for no reason, ect.
So, it might take some time to get rid of all the issues, but while you’re working on fixing them you’ll learn how to avoid them in the future, while also making your game/code more efficient and easier to build moving forward.