From ff8bf560e00bdd37e575ca5c11c1b1cac5bbce4f Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 29 Nov 2015 12:57:27 +0000 Subject: [PATCH] Also use GroupName as objective trigger. --- src/battle/fighters.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/battle/fighters.c b/src/battle/fighters.c index 81c8b9f..ce399c0 100644 --- a/src/battle/fighters.c +++ b/src/battle/fighters.c @@ -294,6 +294,8 @@ void doFighter(void) } updateObjective(self->name, TT_DESTROY); + updateObjective(self->groupName, TT_DESTROY); + adjustObjectiveTargetValue(self->name, TT_ESCAPED, -1); updateCondition(self->name, TT_DESTROY);