Skip to content

Commit

Permalink
fix some objects in the demo version(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulwedeck committed May 20, 2022
1 parent e6fe5c9 commit 9089c05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ public Sequence<Image> get(int index) {
try {
loadSettlers(index, file_name);
} catch (Exception e) {
e.printStackTrace();
}
}
return settlerSequences[index];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ public IndexingDatFileMapping(int[] settlersMapping, int[] guiMapping) {
}

public int mapSettlersSequence(int sequenceIndex) {
if(sequenceIndex == -1) {
return -1;
}

return settlersMapping[sequenceIndex];
}

Expand Down

0 comments on commit 9089c05

Please sign in to comment.