From 4143aba5956143e9783bc8b9f519f6899ac2ed99 Mon Sep 17 00:00:00 2001 From: Pavel Penev Date: Thu, 30 Apr 2020 19:49:42 +0300 Subject: [PATCH] Added syncing to some Railgun projectile fields --- OpenRA.Mods.Common/Projectiles/Railgun.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRA.Mods.Common/Projectiles/Railgun.cs b/OpenRA.Mods.Common/Projectiles/Railgun.cs index 7fa50f427a..dda4284bd5 100644 --- a/OpenRA.Mods.Common/Projectiles/Railgun.cs +++ b/OpenRA.Mods.Common/Projectiles/Railgun.cs @@ -108,6 +108,8 @@ namespace OpenRA.Mods.Common.Projectiles int ticks; bool animationComplete; + + [Sync] WPos target; // Computing these in Railgun instead of RailgunRenderable saves Info.Duration ticks of computation.