WIP: fix #161 prevent board from crashing while no sticky note had been selected yet

This commit is contained in:
betalars 2025-05-16 13:16:19 +02:00
parent fa2d4908fe
commit b55d2a9d8d
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ var has_stage = false:
if focus:
has_stage = true
get_tree().call_group("interactables", "collapse")
current_dropzone_id = 0
current_sticky_note_id = 0
focus_stickies = true
else:
has_stage = false
if is_node_ready():