Skip to content

Commit

Permalink
Correct jobs incomes on load
Browse files Browse the repository at this point in the history
Currently, when a game is loaded, job production/consumption rates in tooltips are shown based on the unit, rather than multiplied by the employed village number. Incomes are then corrected when the numbers change.
With the initial call of updateVillageIncome() function, the correct numbers are displayed when the game is opened and loaded.
  • Loading branch information
AndySky21 committed Apr 29, 2015
1 parent c3f7b62 commit c2f8ac8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/outside.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ var Outside = {

this.updateVillage();
Outside.updateWorkersView();
Outside.updateVillageIncome();

Engine.updateSlider();

Expand Down

0 comments on commit c2f8ac8

Please sign in to comment.