This commit is contained in:
Paul Chote
2011-07-26 22:06:42 +12:00
parent 304601b5ca
commit 00ba03cbce

View File

@@ -64,7 +64,11 @@ namespace OpenRA.Mods.RA
if (self.Owner == self.World.LocalPlayer)
{
self.World.LocalShroud.Disabled = true;
Game.RunAfterDelay(Info.NotificationDelay, () => Sound.Play(Info.LoseNotification));
Game.RunAfterDelay(Info.NotificationDelay, () =>
{
if (Game.IsCurrentWorld(self.World))
Sound.Play(Info.LoseNotification);
});
}
}