remove warning from GpsWatcher
This commit is contained in:
@@ -17,17 +17,10 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.RA
|
||||||
{
|
{
|
||||||
class GpsWatcherInfo : ITraitInfo
|
class GpsWatcherInfo : TraitInfo<GpsWatcher> { }
|
||||||
{
|
|
||||||
public object Create(ActorInitializer init)
|
|
||||||
{
|
|
||||||
return new GpsWatcher(init);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
class GpsWatcher : ISync
|
class GpsWatcher : ISync
|
||||||
{
|
{
|
||||||
Actor self;
|
|
||||||
bool Launched = false;
|
bool Launched = false;
|
||||||
List<Actor> actors = new List<Actor> { };
|
List<Actor> actors = new List<Actor> { };
|
||||||
[Sync]
|
[Sync]
|
||||||
@@ -35,12 +28,6 @@ namespace OpenRA.Mods.RA
|
|||||||
[Sync]
|
[Sync]
|
||||||
public bool Granted = false;
|
public bool Granted = false;
|
||||||
|
|
||||||
|
|
||||||
public GpsWatcher(ActorInitializer init)
|
|
||||||
{
|
|
||||||
self = init.self;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void GpsRem(Actor self)
|
public void GpsRem(Actor self)
|
||||||
{
|
{
|
||||||
actors.Remove(self);
|
actors.Remove(self);
|
||||||
|
|||||||
Reference in New Issue
Block a user