From 872a304714c9e117aabb209ba2fa7bc9e5d1a50a Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 18 Sep 2010 18:34:57 +1200 Subject: [PATCH] all traits can contribute to the synchash --- OpenRA.Game/World.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/World.cs b/OpenRA.Game/World.cs index 8ac4b68390..51ae6e3d5c 100644 --- a/OpenRA.Game/World.cs +++ b/OpenRA.Game/World.cs @@ -181,7 +181,7 @@ namespace OpenRA ret += n++ * (int)a.ActorID * Sync.CalculateSyncHash(a); // hash all the traits that tick - foreach (var x in traitDict.ActorsWithTraitMultiple(this)) + foreach (var x in traitDict.ActorsWithTraitMultiple(this)) ret += n++ * (int)x.Actor.ActorID * Sync.CalculateSyncHash(x.Trait); return ret;