From 76f134fe60bc5008e5ad5d9d18953cede428f9ef Mon Sep 17 00:00:00 2001 From: shweet Date: Sun, 18 Jan 2026 16:39:16 -0500 Subject: [PATCH] quick fix for crashing triggers --- src/anm2/anm2_animations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++;