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

@@ -40,7 +40,7 @@ namespace OpenRA.Mods.RA
var hasAnything = self.World.Queries.OwnedBy[self.Owner]
.WithTrait<MustBeDestroyed>().Any();
var hasLost = !hasAnything && !self.Owner.isSpecial;
var hasLost = !hasAnything && !self.Owner.IsSpecial;
if (hasLost && !HasLost)
Surrender(self);