Skip to content

Commit

Permalink
fixed compile error in characterbaseeditor
Browse files Browse the repository at this point in the history
Checked in old code somehow. This version correctly compares the hash
codes of the color data.
  • Loading branch information
Jaimi committed Nov 3, 2015
1 parent 4fa9975 commit 0093963
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ public OverlayEditor(UMAData.UMARecipe recipe, SlotData slotData, OverlayData ov
{
foreach(OverlayColorData ocd in _recipe.sharedColors)
{
if (ocd.GetHashCode() == _overlayData.GetHashCode() _sharedColors = true;
if (ocd.GetHashCode() == _overlayData.colorData.GetHashCode()) _sharedColors = true;
}
}
if (_sharedColors && (_overlayData.colorData.name == OverlayColorData.UNSHARED))
Expand Down

0 comments on commit 0093963

Please sign in to comment.