remove warning from GpsWatcher

This commit is contained in:
Chris Forbes
2011-05-04 19:31:50 +12:00
parent de8180f217
commit fcdb16c938

View File

@@ -17,29 +17,16 @@ using OpenRA.Traits;
namespace OpenRA.Mods.RA
{
class GpsWatcherInfo : ITraitInfo
{
public object Create(ActorInitializer init)
{
return new GpsWatcher(init);
}
}
class GpsWatcherInfo : TraitInfo<GpsWatcher> { }
class GpsWatcher : ISync
{
Actor self;
bool Launched = false;
List<Actor> actors = new List<Actor> { };
[Sync]
public bool GrantedAllies = false;
[Sync]
public bool Granted = false;
public GpsWatcher(ActorInitializer init)
{
self = init.self;
}
public void GpsRem(Actor self)
{