Skip to content

Commit 0ec51d5

Browse files
authored
missing "return result;" in classes.diplomacy.ui.EmbassyButtonController (nuclear-unicorn#129)
1 parent b275ee9 commit 0ec51d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/diplomacy.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,7 @@ dojo.declare("classes.diplomacy.ui.EmbassyButtonController", com.nuclearunicorn.
10841084
this.game.science.unlockRelations(); //Check if we can unlock new relation policies based on number of embassies.
10851085
this.game.ui.render();
10861086
}
1087+
return result;
10871088
},
10881089

10891090
incrementValue: function(model) {

0 commit comments

Comments
 (0)