clear peace tracks before reloading music from civ files

This was SVN commit r13385.
This commit is contained in:
stwf
2013-05-01 01:51:30 +00:00
parent 67ff52a07f
commit ac3e9d8bc7
@@ -115,8 +115,13 @@ Music.prototype.updateState = function()
}
};
Music.prototype.clearCiv = function()
{
this.tracks.PEACE = [];
}
Music.prototype.storeTracks = function(civMusic)
{
this.clearCiv();
for each (var music in civMusic)
{
var type = undefined;