Merge pull request #10657 from RoosterDragon/sync-perf
Improve sync performance
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user