fix(profile): avoid freeing nodes during their own signal

Defer frame selection and use queued deletion when rebuilding frame cards, avatars, Guest Book cards, and legend chips. Adds a regression check that presses a frame card and verifies the grid stays stable.
This commit is contained in:
Ratdoku Builder committed 2026-12-02 22:48:08 -06:00
1 parent 3c2ead0be1
commit 48c14864a4
5 files changed
+41 -12

No files matched your search

+1 -1
View File
@@ -166,7 +166,7 @@ func _refresh_avatar() -> void:
if avatar_frame_id == SaveGame.selected_frame():
return
for child in avatar_holder.get_children():
child.free()
child.queue_free()
_build_avatar()