Skip to content

Commit

Permalink
Merge pull request #429 from JasonLautzenheiser/objects
Browse files Browse the repository at this point in the history
fix issue with gender in I7 export
  • Loading branch information
JasonLautzenheiser authored Apr 17, 2018
2 parents e7763ad + 71269dc commit 1450773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Export/Languages/Inform7Exporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ private static string toInform7UnderstandWords(string text) {
private static string whatItIs(Thing thing) {
var whatString = string.Empty;
if (thing.IsPerson) {
whatString += $"{thing.ExportName} is a " + Enum.GetName(typeof(Thing.ThingGender), thing.Gender.ToString().ToLower()) + " person";
whatString += $"{thing.ExportName} is a " + Enum.GetName(typeof(Thing.ThingGender), thing.Gender) + " person";
}
else if (thing.PartOf) {
whatString += " is ";
Expand Down

0 comments on commit 1450773

Please sign in to comment.