Skip to content

Commit

Permalink
Fixed a case-sensitive issue when loading the world age icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidATGreen committed Dec 17, 2015
1 parent 16ae8ca commit 915d437
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>groupid</groupId>
<artifactId>StrongholdKingdomsCastleDesigner</artifactId>
<version>1.10</version>
<version>1.11</version>
<packaging>jar</packaging>

<name>StrongholdKingdomsCastleDesigner</name>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/castledesigner/BuildingsPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ public void actionPerformed(ActionEvent e)

private JToggleButton createWorldAgeButton(final int worldAge)
{
String urlPath = "/worldAges/age" + String.valueOf(worldAge) + ".png";
String urlPath = "/world_ages/age" + String.valueOf(worldAge) + ".png";
URL url = getClass().getResource(urlPath.toLowerCase());

Image image = null;
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 915d437

Please sign in to comment.