From 78a0be8b1bef449fe4784dee51d174a546d23db7 Mon Sep 17 00:00:00 2001 From: Steve Date: Sat, 14 May 2016 12:42:47 +0100 Subject: [PATCH] Pass capital ship group name to condition and objective check. --- src/battle/capitalShips.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/battle/capitalShips.c b/src/battle/capitalShips.c index 6ff0c5a..ede669d 100644 --- a/src/battle/capitalShips.c +++ b/src/battle/capitalShips.c @@ -361,8 +361,10 @@ static void die(void) } updateObjective(self->name, TT_DESTROY); + updateObjective(self->groupName, TT_DESTROY); updateCondition(self->name, TT_DESTROY); + updateCondition(self->groupName, TT_DESTROY); } static void handleDisabled(void)