From f6388c198db7f5babc76738928399e4cc06025a8 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 16 Oct 2016 01:56:16 +0200 Subject: [PATCH] Sync less bullet aspects `length` is calculated from `pos` and `target` which are both synced. `SourceActor`, `ticks` and `smokeTicks` work no different from `Missile`, where they're not synced, either. --- OpenRA.Mods.Common/Projectiles/Bullet.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenRA.Mods.Common/Projectiles/Bullet.cs b/OpenRA.Mods.Common/Projectiles/Bullet.cs index f06bf68004..3e45d5f201 100644 --- a/OpenRA.Mods.Common/Projectiles/Bullet.cs +++ b/OpenRA.Mods.Common/Projectiles/Bullet.cs @@ -97,11 +97,11 @@ namespace OpenRA.Mods.Common.Projectiles string trailPalette; [Sync] WPos pos, target; - [Sync] int length; + int length; [Sync] int facing; - [Sync] int ticks, smokeTicks; + int ticks, smokeTicks; - [Sync] public Actor SourceActor { get { return args.SourceActor; } } + public Actor SourceActor { get { return args.SourceActor; } } public Bullet(BulletInfo info, ProjectileArgs args) {