This commit is contained in:
Paul Chote
2010-05-23 22:39:43 +12:00
parent 9837b4ce32
commit 35ca5f80b2
9 changed files with 21 additions and 15 deletions

View File

@@ -45,7 +45,7 @@ namespace OpenRA.Widgets
if (world.players.Count > 2) /* more than just us + neutral */
{
var conds = world.Queries.WithTrait<IVictoryConditions>()
.Where(c => !c.Actor.Owner.isSpecial);
.Where(c => !c.Actor.Owner.IsSpecial);
if (conds.Any(c => c.Actor.Owner == world.LocalPlayer && c.Trait.HasLost))
DrawText("YOU ARE DEFEATED");