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() )