Merge pull request #8839 from RoosterDragon/test-sync-implementations
Test sync implementations
This commit is contained in:
@@ -49,7 +49,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public object Create(ActorInitializer init) { return new ExternalCapturable(init.Self, this); }
|
||||
}
|
||||
|
||||
public class ExternalCapturable : ITick
|
||||
public class ExternalCapturable : ITick, ISync
|
||||
{
|
||||
[Sync] public int CaptureProgressTime = 0;
|
||||
[Sync] public Actor Captor;
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public object Create(ActorInitializer init) { return new ParaDrop(init.Self, this); }
|
||||
}
|
||||
|
||||
public class ParaDrop : ITick, INotifyRemovedFromWorld
|
||||
public class ParaDrop : ITick, ISync, INotifyRemovedFromWorld
|
||||
{
|
||||
readonly ParaDropInfo info;
|
||||
readonly Actor self;
|
||||
|
||||
Reference in New Issue
Block a user