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 = [&]()
{
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();
};