Thanks for you time. So far I haven't used any onready var
. I did use $../..
but I checked it a couple of times while connecting and disconnecting signals. I think that these lines stop working when the scene is moved to canvaslayer:
This one for specific stat:
if dict_bstat["constitution"] == 10:
$Stats_info/Con_cont/TextureButton2.disabled = true
And this one under delta for grouped stats:
if new_level == true and available_points > 0:
for button in get_tree().get_nodes_in_group("PlusButtons"):
button.set_disabled(false)
else:
for button in get_tree().get_nodes_in_group("PlusButtons"):
button.set_disabled(true)
Like I said, it works in its own instance without any troubles and outside of CanvasLayer.