Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kuronekochomusuke committed Dec 14, 2024
1 parent 8ff043b commit 039ecf9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions megamek/src/megamek/utilities/BoardsTagger.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ private static void tagBoard(File boardFile) {
int impassable = 0;
int elevator = 0;
int multipleTheme = 0;
int underWaterBride = 0;
int underWaterBridge = 0;

for (int x = 0; x < board.getWidth(); x++) {
for (int y = 0; y < board.getHeight(); y++) {
Expand Down Expand Up @@ -296,7 +296,7 @@ private static void tagBoard(File boardFile) {
if (hex.containsTerrain(WATER)
&& hex.containsTerrain(BRIDGE)
&& (hex.terrainLevel(BRIDGE_ELEV) < hex.terrainLevel(WATER))) {
underWaterBride++;
underWaterBridge++;
}
}
}
Expand Down Expand Up @@ -366,7 +366,7 @@ private static void tagBoard(File boardFile) {
multipleTheme += snowTheme > 0 ? 1 : 0;
multipleTheme += volcanic > 0 ? 1 : 0;
matchingTags.put(Tags.TAG_MULTIPLETHEME, multipleTheme > 1);
matchingTags.put(Tags.TAG_UNDERWATERBRIDGE, underWaterBride > 0);
matchingTags.put(Tags.TAG_UNDERWATERBRIDGE, underWaterBridge > 0);

// Remove (see below) any auto tags that might be present so that auto tags that
// no longer apply
Expand Down

0 comments on commit 039ecf9

Please sign in to comment.