Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Libs/ResourcesLib.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,10 @@ let commonResource = function(objName, objID, resName){
let cur_value = this.baseValue();

if(this._withEnabledGrowth()){
return this.growth.getValue(cur_value);
// FIXED: Calculate growth value without modifying stored value
let growth_info = this.growth.info();
let calculated_value = this.growth._calcValue(cur_value, growth_info);
return calculated_value;
}
return cur_value;
},
Expand Down