Core/Races: Really fix bug in racemasks.

This commit is contained in:
hondacrx
2021-01-25 13:06:53 -05:00
parent 3201b804fa
commit b25c1487b2
14 changed files with 63 additions and 52 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ namespace Game.Conditions
break;
case ConditionTypes.Race:
if (unit != null)
condMeets = Convert.ToBoolean(unit.GetRaceMask() & ConditionValue1);
condMeets = Convert.ToBoolean(SharedConst.GetMaskForRace(unit.GetRace()) & ConditionValue1);
break;
case ConditionTypes.Gender:
if (player != null)