FightForGidl: Eliminate enemy player after round end.

For the evaluation dialogue.
shapetextures
Sven Eberhardt 2015-12-05 21:14:09 -05:00
parent 6b5bd38cc8
commit b4e0b7d7d1
1 changed files with 1 additions and 0 deletions

View File

@ -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;