From b4e0b7d7d166ee58d78abb18bef02dc1acc3dfaa Mon Sep 17 00:00:00 2001 From: Sven Eberhardt Date: Sat, 5 Dec 2015 21:14:09 -0500 Subject: [PATCH] FightForGidl: Eliminate enemy player after round end. For the evaluation dialogue. --- planet/Missions.ocf/FightForGidl.ocs/Script.c | 1 + 1 file changed, 1 insertion(+) diff --git a/planet/Missions.ocf/FightForGidl.ocs/Script.c b/planet/Missions.ocf/FightForGidl.ocs/Script.c index 0cf04be2c..8524433c8 100644 --- a/planet/Missions.ocf/FightForGidl.ocs/Script.c +++ b/planet/Missions.ocf/FightForGidl.ocs/Script.c @@ -280,6 +280,7 @@ func OnAllWavesCleared() { // Success! if (g_goal) g_goal.is_fulfilled = true; + if (GetPlayerType(ENEMY) == C4PT_Script) EliminatePlayer(ENEMY); GainScenarioAchievement("Done"); GameOver(); return true;