From 39fef604c2c52f09b71ffe40110ec6009cbf900a Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 28 Feb 2011 20:36:02 +1300 Subject: [PATCH] fix desync in ProximityCapturable --- OpenRA.Mods.RA/ProximityCapturable.cs | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/OpenRA.Mods.RA/ProximityCapturable.cs b/OpenRA.Mods.RA/ProximityCapturable.cs index 55b2f6c537..31e8803c22 100644 --- a/OpenRA.Mods.RA/ProximityCapturable.cs +++ b/OpenRA.Mods.RA/ProximityCapturable.cs @@ -1,4 +1,14 @@ -using System.Linq; +#region Copyright & License Information +/* + * Copyright 2007-2011 The OpenRA Developers (see AUTHORS) + * This file is part of OpenRA, which is free software. It is made + * available to you under the terms of the GNU General Public License + * as published by the Free Software Foundation. For more information, + * see COPYING. + */ +#endregion + +using System.Linq; using OpenRA.Effects; using OpenRA.Traits; @@ -38,11 +48,6 @@ namespace OpenRA.Mods.RA public string[] CaptorTypes = {}; - [Sync] - public int ActorTypesHash - { - get { return string.Join(",", CaptorTypes).GetHashCode(); } - } public Actor Self; public ProximityCapturable(Actor self, ProximityCapturableInfo info)