Skip to content

Commit

Permalink
Merge pull request #43 from ataranlen/1.76-dev
Browse files Browse the repository at this point in the history
Other Fix to titles
  • Loading branch information
ataranlen committed Mar 2, 2016
2 parents ad90890 + 6623b29 commit 935f7d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ private void showPlotMoveMessage() {

// Leaving culture to the wild.
if (fromCc != null && toCc == null) {
subTitle += fromCc.getOnLeaveString();
} else if (fromCc == null && toCc != null) { // Leaving wild, entering culture.
title += fromCc.getOnLeaveString();
} else if (fromCc == null && toCc != null) { // Leaving wild, entering culture.
title += toCc.getOnEnterString();
if (civilization != null) {
if (civilization == toCc.getCiv()) {
Expand All @@ -178,7 +178,7 @@ private void showPlotMoveMessage() {
subTitle += CivSettings.localize.localizedString("var_civ_border_relation",civilization.getDiplomacyManager().getRelation(toCc.getCiv()).toString());
} }
onCultureEnter(toCc);
}else if (fromCc != null && toCc !=null && fromCc.getCiv() != toCc.getCiv()) {
} else if (fromCc != null && toCc !=null && fromCc.getCiv() != toCc.getCiv()) {
//Leaving one civ's culture, into another.

title += fromCc.getOnLeaveString() +" | "+ toCc.getOnEnterString();
Expand Down

0 comments on commit 935f7d1

Please sign in to comment.