From a4fbfeaddbad88b93040686323627f937db08341 Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange Date: Fri, 6 Dec 2024 22:13:11 -0600 Subject: [PATCH] Fix duplication thingy --- scripts/xmle/form_handler.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/xmle/form_handler.gd b/scripts/xmle/form_handler.gd index 7103311..666e2e0 100644 --- a/scripts/xmle/form_handler.gd +++ b/scripts/xmle/form_handler.gd @@ -321,14 +321,14 @@ func fuck_with_frames_tree() -> void: var placeholder if next_frame != null and not duplicate: placeholder = next_frame.duplicate(false) - cur_anim.frames[item_index + 1] = frame + cur_anim.frames[item_index + 1] = frame.duplicate(false) if next_frame != null and not duplicate: cur_anim.frames[item_index] = placeholder if id == 1: if item_index - 1 < 0: return var prev_frame = cur_anim.frames[item_index - 1] var placeholder = prev_frame.duplicate(false) - cur_anim.frames[item_index - 1] = frame + cur_anim.frames[item_index - 1] = frame.duplicate(false) cur_anim.frames[item_index] = placeholder set_frames_tree() )