update dumps + fix trigger bug some more

This commit is contained in:
2026-01-19 15:06:16 -05:00
parent 76f134fe60
commit ca3a0f6691
3 changed files with 26 additions and 7 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ namespace anm2ed::anm2
auto& animation = *animations.items.insert(animations.items.begin() + start + count, Animation(element));
for (auto& trigger : animation.triggers.frames)
if (!content.events.contains(trigger.eventID)) content.events[trigger.eventID].name = localize.get(L);
if (!content.events.contains(trigger.eventID)) trigger.eventID = -1;
indices.insert(index);
count++;