rename GpsSatellite trait to GpsLaunchSite

This commit is contained in:
Chris Forbes
2010-01-08 22:28:27 +13:00
parent 54c28ab74d
commit 2ea729759c
7 changed files with 12 additions and 21 deletions

View File

@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq;
using OpenRa.Game.Effects;
using OpenRa.Game.Traits;
namespace OpenRa.Game.SupportPowers
{
@@ -13,7 +11,7 @@ namespace OpenRa.Game.SupportPowers
public void Activate(SupportPower p)
{
var launchSite = Game.world.Actors
.FirstOrDefault( a => a.Owner == p.Owner && a.traits.Contains<Traits.GpsSatellite>() );
.FirstOrDefault( a => a.Owner == p.Owner && a.traits.Contains<GpsLaunchSite>() );
if (launchSite == null)
return;