From f9087b8ed32604257cb839847c3d9021a0291b06 Mon Sep 17 00:00:00 2001 From: shweet Date: Tue, 13 Jan 2026 02:49:01 -0500 Subject: [PATCH] quick change to events + workshop --- src/imgui/window/events.cpp | 6 ++++++ workshop/metadata.xml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/imgui/window/events.cpp b/src/imgui/window/events.cpp index 3259610..fa5a760 100644 --- a/src/imgui/window/events.cpp +++ b/src/imgui/window/events.cpp @@ -50,7 +50,13 @@ namespace anm2ed::imgui auto behavior = [&]() { for (auto& id : unused) + { + for (auto& animation : anm2.animations.items) + for (auto& trigger : animation.triggers.frames) + if (trigger.eventID == id) trigger.eventID = -1; + anm2.content.events.erase(id); + } unused.clear(); }; diff --git a/workshop/metadata.xml b/workshop/metadata.xml index 334ed25..fadfc93 100644 --- a/workshop/metadata.xml +++ b/workshop/metadata.xml @@ -51,6 +51,6 @@ Alternatively, if you have subscribed to the mod, you can find the latest releas [h3]Happy animating![/h3] [img]https://files.catbox.moe/4auc1c.gif[/img] - 2.12 + 2.13 Public