Implements victory and defeat music.

This commit is contained in:
Zimmermann Gyula
2015-07-13 14:50:01 +02:00
parent 4297d06ba3
commit 57e684d1d9
9 changed files with 69 additions and 5 deletions

View File

@@ -58,6 +58,10 @@ namespace OpenRA
if (!gameOver)
{
gameOver = true;
foreach (var t in WorldActor.TraitsImplementing<IGameOver>())
t.GameOver(this);
GameOver();
}
}