Remove dead code and encapsulate more in Sync.cs.

This commit is contained in:
RoosterDragon
2016-01-30 00:25:57 +00:00
parent c22281876c
commit eb3be990a6
2 changed files with 9 additions and 20 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;
}
}