Great that you fixed the bug! I have a few bugs myself, any tips on how to tackle them?
Viewing post in It Came From Below jam comments
Bug hunting can be pretty tricky work. You need to be a bit of a detective and use deductive reasoning to slowly rule out where the problem could be and to zero in on the likely culprit.
In Godot you can use the Debugger to set breakpoints and examine variables and sometimes you can just print values to console to figure out if a variable isn't set to the value you expect or even being set at all (a null value).
Thats what I normally do. Figure out which state/variables are getting set to the expected values and try to work backwards.