quick change to events + workshop

This commit is contained in:
2026-01-13 02:49:01 -05:00
parent 945fd31735
commit f9087b8ed3
2 changed files with 7 additions and 1 deletions

View File

@@ -50,7 +50,13 @@ namespace anm2ed::imgui
auto behavior = [&]() auto behavior = [&]()
{ {
for (auto& id : unused) 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); anm2.content.events.erase(id);
}
unused.clear(); unused.clear();
}; };

View File

@@ -51,6 +51,6 @@ Alternatively, if you have subscribed to the mod, you can find the latest releas
[h3]Happy animating![/h3] [h3]Happy animating![/h3]
[img]https://files.catbox.moe/4auc1c.gif[/img] [img]https://files.catbox.moe/4auc1c.gif[/img]
</description> </description>
<version>2.12</version> <version>2.13</version>
<visibility>Public</visibility> <visibility>Public</visibility>
</metadata> </metadata>