mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
clear peace tracks before reloading music from civ files
This was SVN commit r13385.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user