Skip to content

Commit

Permalink
I7 Export - Region name is reserved word, room not assigned (#552)
Browse files Browse the repository at this point in the history
If the region is a reserved word, any rooms would be disconnected from that region (which would have a new name assigned during export)
  • Loading branch information
JasonLautzenheiser authored Mar 19, 2022
1 parent fd14160 commit 029f783
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Export/Languages/Inform7Exporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ protected override void ExportContent(TextWriter writer) {
writer.WriteLine();
// export each location
foreach (var location in LocationsInExportOrder) {
if (location.Room.Region != region.ExportName) continue;
anyConditionalExits |= printThisLoc(writer, location);
if ((location.Room.Region == region.Region.RegionName) ||(location.Room.Region == region.ExportName))
anyConditionalExits |= printThisLoc(writer, location);
}
}

Expand Down

0 comments on commit 029f783

Please sign in to comment.