Only play movies in Allies 01 and Soviet 01 Classic if there's one client

This commit is contained in:
Scott_NZ
2013-01-15 17:43:39 +13:00
parent a88a7d9834
commit 1da2d89ced
5 changed files with 46 additions and 10 deletions

View File

@@ -340,15 +340,25 @@ namespace OpenRA.Mods.RA.Missions
alliesRes.TakeOre(alliesRes.Ore);
Game.MoveViewport(insertionLZ.Location.ToFloat2());
Media.PlayFMVFullscreen(w, "ally1.vqa", () =>
if (MissionUtils.IsSingleClient(world))
{
Media.PlayFMVFullscreen(w, "landing.vqa", () =>
Media.PlayFMVFullscreen(w, "ally1.vqa", () =>
{
InsertTanyaAtLZ();
SendPatrol();
MissionUtils.PlayMissionMusic();
Media.PlayFMVFullscreen(w, "landing.vqa", () =>
{
InsertTanyaAtLZ();
SendPatrol();
MissionUtils.PlayMissionMusic();
});
});
});
}
else
{
InsertTanyaAtLZ();
SendPatrol();
MissionUtils.PlayMissionMusic();
}
}
}
}