Remove dead code and encapsulate more in Sync.cs.
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