Merge pull request #10657 from RoosterDragon/sync-perf

Improve sync performance
This commit is contained in:
Matthias Mailänder
2016-01-31 22:56:08 +01:00
5 changed files with 55 additions and 46 deletions

View File

@@ -63,7 +63,7 @@ namespace OpenRA.Mods.Common.Traits
{
var hash = 0;
foreach (var objective in objectives)
hash ^= Sync.Hash(objective.State);
hash ^= Sync.HashUsingHashCode(objective.State);
return hash;
}
}