quick fix for crashing triggers
This commit is contained in:
@@ -40,7 +40,7 @@ namespace anm2ed::anm2
|
|||||||
auto& animation = *animations.items.insert(animations.items.begin() + start + count, Animation(element));
|
auto& animation = *animations.items.insert(animations.items.begin() + start + count, Animation(element));
|
||||||
|
|
||||||
for (auto& trigger : animation.triggers.frames)
|
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);
|
indices.insert(index);
|
||||||
count++;
|
count++;
|
||||||
|
|||||||
Reference in New Issue
Block a user