fix desync in ProximityCapturable
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user