Skip to content

Commit

Permalink
Fixed simple terrain mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mmyers committed Aug 10, 2021
1 parent 1afc6ce commit 67f56f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected void paintProvince(Graphics2D g, int provId) {
if (sTerr != null) {
editor.Map.Terrain terr = terrains.getOrDefault(sTerr, null);
if (terr != null)
mapPanel.paintProvince(g, provId, terrains.get(terr).getColor());
mapPanel.paintProvince(g, provId, terr.getColor());
else
mapPanel.paintProvince(g, provId, Utilities.COLOR_LAND_DEFAULT);
} else {
Expand Down

0 comments on commit 67f56f5

Please sign in to comment.