From ff07744e9df3bc5b398692a71798d1ed59f76a50 Mon Sep 17 00:00:00 2001 From: Steve Date: Wed, 4 May 2016 09:34:34 +0100 Subject: [PATCH] Run script function with name of capital ship. --- src/battle/capitalShips.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/battle/capitalShips.c b/src/battle/capitalShips.c index 8a03b61..ef5cdbb 100644 --- a/src/battle/capitalShips.c +++ b/src/battle/capitalShips.c @@ -109,6 +109,8 @@ void doCapitalShip(void) runScriptFunction("CAPITAL_SHIPS_DESTROYED %d", battle.stats[STAT_CAPITAL_SHIPS_DESTROYED]); } + + runScriptFunction(self->name); } } }