diff --git a/src/anm2/anm2_animations.cpp b/src/anm2/anm2_animations.cpp index 85c87ba..7afcaba 100644 --- a/src/anm2/anm2_animations.cpp +++ b/src/anm2/anm2_animations.cpp @@ -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]; + if (!content.events.contains(trigger.eventID)) content.events[trigger.eventID].name = localize.get(L); indices.insert(index); count++;