Hi There I have an usual problem.
I have a function in my code that goes off when it is not called ...
This is my project structure

In the node "Node" I have a script attached with function recruitChar() that accepts variable a.
It has many elif statements and an else statement. When elif parts are triggered it works as expected. However when the else part is triggered it does what it should do AND it triggers another function in the script which is addPlayerPool(a). Which it shouldn't trigger.
Here it is how it looks in the code:

To give more detail, the else from _recruitChar() function populates textureButtons in ReplaceChar popup node and it makes it Appear. (Through popup() )
Any reference back to the original code that I have that could trigger the addPlayerPool(a) is in the CrewFire button node in the ReplaceChar popup. But it is in func pressed(). Which is never pressed at that point.
When I run the debugger it seems as addPlayerPool(a) function would be directly called from the recruitChar() function .... without any reference . Have no clue what is happening here
