fix desync in ProximityCapturable

This commit is contained in:
Chris Forbes
2011-02-28 20:36:02 +13:00
parent c5684fcba5
commit 39fef604c2

View File

@@ -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)