From 5828a660d394a8a08371856c848d744a92d110e4 Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 18 Mar 2018 12:48:52 +0000 Subject: [PATCH] Flag MIA as rescued immediately. --- src/entities/blobs/mia.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entities/blobs/mia.c b/src/entities/blobs/mia.c index 1a5b0fe..431e928 100644 --- a/src/entities/blobs/mia.c +++ b/src/entities/blobs/mia.c @@ -117,6 +117,8 @@ static void touch(Entity *other) m->flags |= EF_ALWAYS_PROCESS; m->plane = PLANE_FOREGROUND; playSound(SND_MIA, m->uniqueId % MAX_SND_CHANNELS); + game.stats[STAT_MIAS_RESCUED]++; + updateObjective("MIA"); } } @@ -145,8 +147,6 @@ static void teleport(void) if (--m->teleportTimer <= 0) { addTeleportStars(self); - game.stats[STAT_MIAS_RESCUED]++; - updateObjective("MIA"); m->alive = ALIVE_DEAD; }