Show 2 decimals for gather rates in gui.
Patch By: Nescio Differential Revision: https://code.wildfiregames.com/D2594 Extremely far away ref: #4099 This was SVN commit r23614.
This commit is contained in:
parent
23111ab427
commit
8158fe7b23
@ -576,7 +576,7 @@ function getGatherTooltip(template)
|
||||
}, [0, 0]);
|
||||
|
||||
if (rate > 0)
|
||||
rates[resource.code] = +(rate / count).toFixed(1);
|
||||
rates[resource.code] = +(rate / count).toFixed(2);
|
||||
}
|
||||
|
||||
if (!Object.keys(rates).length)
|
||||
|
Loading…
Reference in New Issue
Block a user